class documentation

Generic test methods to be mixed into all client endpoint test classes.

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.
Method test_endpointListenSuccess An endpoint can listen and returns a deferred that gets called back with a port instance.
Method test_interface The endpoint provides interfaces.IStreamServerEndpoint.
def test_endpointListenFailure(self): (source)

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

def test_endpointListenNonDefaultArgs(self): (source)

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

def test_endpointListenSuccess(self): (source)

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

def test_interface(self): (source)

The endpoint provides interfaces.IStreamServerEndpoint.