class documentation
class StreamTransportTestsMixin(LogObserverMixin): (source)
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_close |
See assertPeerClosedOnEMFILE . |
Method | test_connection |
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_started |
When a port starts, a message including a description of the associated factory is logged. |
Inherited from LogObserverMixin
:
Method | observe |
Undocumented |
@skipIf( SKIP_EMFILE, 'Reserved EMFILE file descriptor not supported on Windows.')
def test_closePeerOnEMFILE(self): (source) ¶
def test_closePeerOnEMFILE(self): (source) ¶
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.