class documentation
class ConnectionTestsMixin: (source)
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_log |
Client and server transports implement ILoggingContext.logPrefix to return a message reflecting the protocol they are running. |
Method | test_protocol |
After the connection a protocol is being used for is closed, the reactor discards all of its references to the protocol. |
Method | test_write |
After a connection is disconnected, ITransport.write and ITransport.writeSequence are no-ops. |
Class Variable | endpoints |
Undocumented |
Client and server transports implement ILoggingContext.logPrefix
to return a message reflecting the protocol they are running.
After the connection a protocol is being used for is closed, the reactor discards all of its references to the protocol.