module documentation

Test cases for ldaptor.protocols.ldap.ldif module

Class AsLDIFTests Converting LDAP objects to LDIF. Object consists of DN and pairs of attribute keys and lists of values. The result is a number of lines in LDIF format for every key/value pair including DN.
Class AttributeAsLDIFTests Converting pairs of attribute keys and values to LDIF. The result is a byte string with key and value separated by a semicolon and a space. In several special cases value is base64 encoded and separated from key by two semicolons and a space.
Class ManyAsLDIFTests Converting multiple LDAP objects to LDIF. Every object consists of pair of DN and pairs of attribute keys and lists of values. The result is a number of blocks representing each object in LDIF format separated by an empty lines...
Class WireableObject Object with bytes representation as a constant toWire value
Function encode Undocumented
def encode(value): (source)

Undocumented