1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
LDAP Operations
===============
Inside of an individual test, you will be performing some task that involves
LDAP operations and then verifying the outcome. In some cases, you will need to
prepare your mock :class:`~mockldap.LDAPObject` to return specific results for a
given API call.
LDAPObject
----------
.. autoclass:: mockldap.LDAPObject
:members:
Every LDAP method on :class:`~mockldap.LDAPObject` is actually an instance of
:class:`~mockldap.recording.RecordedMethod`, which allows you to set return
values in advance for different sets of arguments.
.. autoclass:: mockldap.recording.RecordedMethod
:members:
.. autoexception:: mockldap.SeedRequired
|