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.
def test_interface(self):

The endpoint provides interfaces.IStreamServerEndpoint.

def test_endpointListenSuccess(self):

An endpoint can listen and returns a deferred that gets called back with a port instance.

def test_endpointListenFailure(self):

When an endpoint tries to listen on an already listening port, a CannotListenError failure is errbacked.

def test_endpointListenNonDefaultArgs(self):

The endpoint should pass it's listenArgs parameter to the reactor's listen methods.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.