module documentation

Utilities for writing Twistedy unit tests and debugging.

Class FakeTransport Undocumented
Class LDAPClientTestDriver A test driver that looks somewhat like a real LDAPClient.
Function calltrace Print out all function calls. For debug use only.
Function createServer Create an LDAP server for testing. :param proto: The server protocol factory (e.g. `ProxyBase`). :param responses: The responses to initialize the `LDAPClientTestDrive`. :param proto_args: Optional mapping passed as keyword args to protocol factory.
Function mustRaise Undocumented
def calltrace(): (source)

Print out all function calls. For debug use only.

def createServer(proto, *responses, **kw): (source)

Create an LDAP server for testing. :param proto: The server protocol factory (e.g. `ProxyBase`). :param responses: The responses to initialize the `LDAPClientTestDrive`. :param proto_args: Optional mapping passed as keyword args to protocol factory.

def mustRaise(dummy): (source)

Undocumented