twisted.internet.test.test_endpoints.ServerEndpointTestCaseMixin(object)
class documentationtwisted.internet.test.test_endpoints
(View In Hierarchy)
Known subclasses: twisted.internet.test.test_endpoints.AdoptedStreamServerEndpointTests, twisted.internet.test.test_endpoints.EndpointTestCaseMixin
Generic test methods to be mixed into all client endpoint test classes.
Method | test_interface | The endpoint provides interfaces.IStreamServerEndpoint . |
Method | test_endpointListenSuccess | An endpoint can listen and returns a deferred that gets called back with a port instance. |
Method | test_endpointListenFailure | When an endpoint tries to listen on an already listening port, a
CannotListenError failure is errbacked. |
Method | test_endpointListenNonDefaultArgs | The endpoint should pass it's listenArgs parameter to the reactor's listen methods. |
An endpoint can listen and returns a deferred that gets called back with a port instance.