class documentation
class LDAPEntryTests(unittest.TestCase): (source)
Unit tests for LDAPEntry.
Method | test |
Creating an LDAP object should succeed. |
Method | test |
Entries with same DN, same attributes, and same values for attributes equal, regardless of the order of the attributes. |
Method | test |
Entries which are equal have the same hash. |
Method | test |
Entries which are not equal have different hash values. |
Method | test |
Key in object gives expected results. |
Method | test |
Entries with same DN but different attributes are not equal. |
Method | test |
Entries with different DN are not equal. |
Method | test |
It is not equal with non LDAPEntry objects. |
Method | test |
Entries with same DN same attributes, but different values for attributes are not equal. |
Method | test |
Iterating over the items of an LDAP object gives expected results. |
Method | test |
Iterating over the keys of an LDAP object gives expected results. |