Logo Search packages:      
Sourcecode: ldaptor version File versions

ldaptor::testutil::LDAPClientTestDriver Class Reference

List of all members.

Detailed Description

A test driver that looks somewhat like a real LDAPClient.

Pass in a list of lists of LDAPProtocolResponses. For each sent
LDAP message, the first item of said list is iterated through, and
all the items are sent as responses to the callback. The sent LDAP
messages are stored in self.sent, so you can assert that the sent
messages are what they are supposed to be.

Definition at line 24 of file testutil.py.

Public Member Functions

def __init__
def assertNothingSent
def assertSent
def connectionLost
def connectionMade
def send
def send_multiResponse
def send_noResponse
def unbind

Public Attributes


Private Member Functions

def _response

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index