Using the test ldap server for unittests
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 to set up a test ldap server for my own unittests in another project, can anyone point me in the right direction for this? -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Python-LDAP-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/python-ldap-dev
Re: Patch for broken slapd.py
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 I'm not familiar with slapd.py which was written by David and after glancing over it I strongly dislike some of the assumptions made therein. So I'm not going to touch that now because of lack of time. Ciao, Michael. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Python-LDAP-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/python-ldap-dev
Re: Patch for broken slapd.py
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 rid of? 2009/12/17 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 I'm not familiar with slapd.py which was written by David and > after glancing over it I strongly dislike some of the assumptions made > therein. So I'm not going to touch that now because of lack of time. > > Ciao, Michael. > > -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Python-LDAP-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/python-ldap-dev
