[python-ldap] testing syncrepl refresh with restarted slapd
michael at stroeder.com
Mon Nov 20 12:45:38 EST 2017
Michael Ströder wrote:
> I've committed a slightly modified variant of your test module.
> No need to patch slapdtest.py since it's meant to take an arbitrary
> template string (via sub-classing).
> You can even do more custom with sub-classing. E.g. in tests of Æ-DIR's
> Python module I generate the config based on the Jinja2 templates in the
> Æ-DIR ansible roles.
BTW: Regarding your TODO section about testing refresh phase against a
restarted slapd you can look into method
in script Tests/t_ldapobject.py where slapd is restarted to test the
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3829 bytes
Desc: S/MIME Cryptographic Signature
More information about the python-ldap