Using the test ldap server for unittests

2009-12-17 Thread Christian Oudard
I tried to run the runtests.sh script in the Tests/ directory, but it didn't work, saying that the test ldap server wasn't running. I tried installing slapd, but it still didn't work even when slapd was running. What do I need to have installed or running to use these unittests? Also, I would like

Re: Patch for broken slapd.py

2009-12-17 Thread Michael Ströder
Christian Oudard wrote: > On my system, slapd.py fails because of a missing /var/tmp/python-ldap-test . > > Not sure what your patch submission procedure is, but here's a patch > to fix that: Hmm, normally I review patches and commit them. So you did the right thing posting it here. In this case

Re: Patch for broken slapd.py

2009-12-17 Thread Christian Oudard
I'm in the process of adapting slapd.py to be a general purpose mock ldap test server for running unit tests against. I would be interested in contributing improvements to it that keep it compatible with the test suite of python-ldap. Specifically, what sort of assumptions are you trying to get ri