twisted.internet.test.test_tcp.StreamTransportTestsMixin(LogObserverMixin)
class documentationtwisted.internet.test.test_tcp
(View In Hierarchy)
Known subclasses: twisted.internet.test.test_tcp.TCPFDPortTestsBuilder, twisted.internet.test.test_tcp.TCPPortTestsBuilder, twisted.internet.test.test_tls.TLSPortTestsBuilder, twisted.internet.test.test_unix.UNIXFDPortTestsBuilder, twisted.internet.test.test_unix.UNIXPortTestsBuilder
Mixin defining tests which apply to any port/connection based transport.
Method | test_startedListeningLogMessage | When a port starts, a message including a description of the associated factory is logged. |
Method | test_connectionLostLogMsg | When a connection is lost, an informative message should be logged (see
getExpectedConnectionLostLogMsg ):
an address identifying the port and the fact that it was closed. |
Method | test_allNewStyle | The IListeningPort
object is an instance of a class with no classic classes in its
hierarchy. |
Method | test_closePeerOnEMFILE | See assertPeerClosedOnEMFILE . |
Inherited from LogObserverMixin:
Method | observe | Undocumented |
When a port starts, a message including a description of the associated factory is logged.
When a connection is lost, an informative message should be logged (see
getExpectedConnectionLostLogMsg
):
an address identifying the port and the fact that it was closed.
The IListeningPort
object is an instance of a class with no classic classes in its
hierarchy.