comparison MoinMoin/_tests/ldap_testbase.py @ 3661:2d5a325ae247

ldap tests: rename base class so py.test doesn't find it, skip tests if slapd is not started
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 01 Jun 2008 21:44:00 +0200
parents df024fd0a129
children 4353a470388e b8ea98d74d8d
comparison
equal deleted inserted replaced
3660:b3354cf420ff 3661:2d5a325ae247
229 shutil.rmtree(self.ldap_dir) 229 shutil.rmtree(self.ldap_dir)
230 230
231 try: 231 try:
232 import py.test 232 import py.test
233 233
234 class LDAPTestBase: 234 class LDAPTstBase:
235 """ Test base class for py.test based tests which need a LDAP server to talk to. 235 """ Test base class for py.test based tests which need a LDAP server to talk to.
236 236
237 Inherit your test class from this base class to test LDAP stuff. 237 Inherit your test class from this base class to test LDAP stuff.
238 """ 238 """
239 239