File: slapdtest.rst

package info (click to toggle)
python-ldap 3.4.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,756 kB
  • sloc: python: 9,558; ansic: 3,052; makefile: 139; sh: 79
file content (32 lines) | stat: -rw-r--r-- 962 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
###################################################################
:mod:`slapdtest` Spawning test instances of OpenLDAP's slapd server
###################################################################

.. py:module:: slapdtest
   :synopsis: Spawning test instances of OpenLDAP's slapd server
.. moduleauthor:: python-ldap project (see https://www.python-ldap.org/)


The module is used for testing python-ldap itself but can be used for
automatically testing any OpenLDAP-based configuration setup.

This module is pure Python and does not rely on any non-standard modules.
Therefore it can be used stand-alone without the rest of the python-ldap
package.

Test fixtures for the popular `pytest` framework are developed in an external project, `pytest-ldap`_.

Functions
^^^^^^^^^


Classes
^^^^^^^

.. autoclass:: slapdtest.SlapdObject
   :members:

.. autoclass:: slapdtest.SlapdTestCase
   :members:

.. _pytest-ldap: https://pypi.org/project/pytest-ldap/