class documentation
class LDAPServerTest(unittest.TestCase): (source)
Undocumented
Method | assert |
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 | make |
Shortcut for sending LDAPSearchRequest to the test server |
Method | set |
Undocumented |
Method | test_add_fail_exists |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test_bind_bad |
Undocumented |
Method | test_bind_bad |
Undocumented |
Method | test_bind_bad |
Undocumented |
Method | test_bind_bad |
Undocumented |
Method | test_bind_invalid |
Undocumented |
Method | test_bind_invalid |
Undocumented |
Method | test |
Undocumented |
Method | test_compare_in |
Undocumented |
Method | test_compare_not |
Undocumented |
Method | test_compare_out |
Undocumented |
Method | test |
Undocumented |
Method | test_control_unknown_non |
Undocumented |
Method | test |
Undocumented |
Method | test_extended |
Undocumented |
Method | test |
Undocumented |
Method | test_modify |
Undocumented |
Method | test_password |
Undocumented |
Method | test_password |
Undocumented |
Method | test_password |
Undocumented |
Method | test_root |
Searching for a root object |
Method | test |
Search request with the list of attributes passed as '*' returns objects with all their attributes |
Method | test_search_match |
Searching for a tree object with receiving it and all its children (default scope) |
Method | test_search_match |
Searching for a single object with receiving all its attributes |
Method | test_search_match |
Searching for a single object with receiving a specified set of its attributes |
Method | test_search_match |
Attempt to search an existing object with a set of nonexistent attributes results in a successful response with no attributes |
Method | test_search_out |
Attempt to get nonexistent DN results in noSuchObject error response |
Method | test_search_scope_base |
Searching for a tree object with receiving it without its children |
Method | test_search_scope_one |
Searching for a tree object with receiving its children but without parent itself |
Method | test_search_scope_whole |
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 |
Undocumented |
Method | test_unknown |
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 | _make |
Undocumented |
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
Attempt to search an existing object with a set of nonexistent attributes results in a successful response with no attributes