class documentation

Undocumented

Method assertSearchResults Shortcut for checking results returned by test server on LDAPSearchRequest. Results must be prepared as a list of dictionaries with 'objectName' and 'attributes' keys
Method makeSearch Shortcut for sending LDAPSearchRequest to the test server
Method setUp Undocumented
Method test_add_fail_existsAlready Undocumented
Method test_add_success Undocumented
Method test_bind Undocumented
Method test_bind_badVersion_1_anonymous Undocumented
Method test_bind_badVersion_2_anonymous Undocumented
Method test_bind_badVersion_4_anonymous Undocumented
Method test_bind_badVersion_4_nonExisting Undocumented
Method test_bind_invalidCredentials_badPassword Undocumented
Method test_bind_invalidCredentials_nonExisting Undocumented
Method test_bind_success Undocumented
Method test_compare_inGroup Undocumented
Method test_compare_notInGroup Undocumented
Method test_compare_outOfTree Undocumented
Method test_control_unknown_critical Undocumented
Method test_control_unknown_nonCritical Undocumented
Method test_delete Undocumented
Method test_extendedRequest_unknown Undocumented
Method test_modify Undocumented
Method test_modifyDN_rdnOnly_deleteOldRDN_success Undocumented
Method test_passwordModify_notBound Undocumented
Method test_passwordModify_simple Undocumented
Method test_passwordModify_someoneElse Undocumented
Method test_rootDSE Searching for a root object
Method test_search_all_attributes Search request with the list of attributes passed as '*' returns objects with all their attributes
Method test_search_matchAll_manyResults Searching for a tree object with receiving it and all its children (default scope)
Method test_search_matchAll_oneResult Searching for a single object with receiving all its attributes
Method test_search_matchAll_oneResult_filtered Searching for a single object with receiving a specified set of its attributes
Method test_search_matchAll_oneResult_filteredNoAttribsRemaining Attempt to search an existing object with a set of nonexistent attributes results in a successful response with no attributes
Method test_search_outOfTree Attempt to get nonexistent DN results in noSuchObject error response
Method test_search_scope_baseObject Searching for a tree object with receiving it without its children
Method test_search_scope_oneLevel Searching for a tree object with receiving its children but without parent itself
Method test_search_scope_wholeSubtree Searching for a tree object with receiving it and all its children. This is a default behavior but here it is explicitly specified.
Method test_unbind Undocumented
Method test_unknownRequest Undocumented
Instance Variable another Undocumented
Instance Variable groups Undocumented
Instance Variable root Undocumented
Instance Variable server Undocumented
Instance Variable stuff Undocumented
Instance Variable thingie Undocumented
Instance Variable users Undocumented
Method _makeResultList Undocumented
def assertSearchResults(self, results=None, resultCode=0): (source)

Shortcut for checking results returned by test server on LDAPSearchRequest. Results must be prepared as a list of dictionaries with 'objectName' and 'attributes' keys

def makeSearch(self, baseObject=None, scope=None, derefAliases=None, sizeLimit=None, timeLimit=None, typesOnly=None, filter=None, attributes=None, tag=None): (source)

Shortcut for sending LDAPSearchRequest to the test server

def setUp(self): (source)

Undocumented

def test_add_fail_existsAlready(self): (source)

Undocumented

def test_add_success(self): (source)

Undocumented

def test_bind(self): (source)

Undocumented

def test_bind_badVersion_1_anonymous(self): (source)

Undocumented

def test_bind_badVersion_2_anonymous(self): (source)

Undocumented

def test_bind_badVersion_4_anonymous(self): (source)

Undocumented

def test_bind_badVersion_4_nonExisting(self): (source)

Undocumented

def test_bind_invalidCredentials_badPassword(self): (source)

Undocumented

def test_bind_invalidCredentials_nonExisting(self): (source)

Undocumented

def test_bind_success(self): (source)

Undocumented

def test_compare_inGroup(self): (source)

Undocumented

def test_compare_notInGroup(self): (source)

Undocumented

def test_compare_outOfTree(self): (source)

Undocumented

def test_control_unknown_critical(self): (source)

Undocumented

def test_control_unknown_nonCritical(self): (source)

Undocumented

def test_delete(self): (source)

Undocumented

def test_extendedRequest_unknown(self): (source)

Undocumented

def test_modify(self): (source)

Undocumented

def test_modifyDN_rdnOnly_deleteOldRDN_success(self): (source)

Undocumented

def test_passwordModify_notBound(self): (source)

Undocumented

def test_passwordModify_simple(self): (source)

Undocumented

def test_passwordModify_someoneElse(self): (source)

Undocumented

def test_rootDSE(self): (source)

Searching for a root object

def test_search_all_attributes(self): (source)

Search request with the list of attributes passed as '*' returns objects with all their attributes

def test_search_matchAll_manyResults(self): (source)

Searching for a tree object with receiving it and all its children (default scope)

def test_search_matchAll_oneResult(self): (source)

Searching for a single object with receiving all its attributes

def test_search_matchAll_oneResult_filtered(self): (source)

Searching for a single object with receiving a specified set of its attributes

def test_search_matchAll_oneResult_filteredNoAttribsRemaining(self): (source)

Attempt to search an existing object with a set of nonexistent attributes results in a successful response with no attributes

def test_search_outOfTree(self): (source)

Attempt to get nonexistent DN results in noSuchObject error response

def test_search_scope_baseObject(self): (source)

Searching for a tree object with receiving it without its children

def test_search_scope_oneLevel(self): (source)

Searching for a tree object with receiving its children but without parent itself

def test_search_scope_wholeSubtree(self): (source)

Searching for a tree object with receiving it and all its children. This is a default behavior but here it is explicitly specified.

def test_unbind(self): (source)

Undocumented

def test_unknownRequest(self): (source)

Undocumented

another = (source)

Undocumented

groups = (source)

Undocumented

root = (source)

Undocumented

server = (source)

Undocumented

stuff = (source)

Undocumented

thingie = (source)

Undocumented

users = (source)

Undocumented

def _makeResultList(self, s): (source)

Undocumented