twisted.internet.test.connectionmixins.ConnectionTestsMixin(object) class documentationtwisted.internet.test.connectionmixins
(View In Hierarchy)
Known subclasses: twisted.internet.test.test_tcp.TCPClientTestsBase, twisted.internet.test.test_tls.SSLClientTestsMixin, twisted.internet.test.test_tls.StartTLSClientTestsMixin, twisted.internet.test.test_unix.UNIXTestsBuilder
This mixin defines test methods which should apply to most ITransport
implementations.
| Method | test_logPrefix | Client and server transports implement ILoggingContext.logPrefixto return a message reflecting the protocol they are running. | 
| Method | test_writeAfterDisconnect | After a connection is disconnected, ITransport.writeandITransport.writeSequenceare no-ops. | 
| Method | test_protocolGarbageAfterLostConnection | After the connection a protocol is being used for is closed, the reactor discards all of its references to the protocol. | 
Client and server transports implement ILoggingContext.logPrefix
to return a message reflecting the protocol they are running.
After a connection is disconnected, ITransport.write
and ITransport.writeSequence
are no-ops.