[Zope-CVS] SVN: ldapadapter/trunk/tests/test_ldapadapter.py Fixed to use latest FakeLDAP.

Florent Guillaume fg at nuxeo.com
Sat Oct 9 10:23:29 EDT 2004


Log message for revision 27837:
  Fixed to use latest FakeLDAP.


Changed:
  U   ldapadapter/trunk/tests/test_ldapadapter.py


-=-
Modified: ldapadapter/trunk/tests/test_ldapadapter.py
===================================================================
--- ldapadapter/trunk/tests/test_ldapadapter.py	2004-10-09 14:18:08 UTC (rev 27836)
+++ ldapadapter/trunk/tests/test_ldapadapter.py	2004-10-09 14:23:29 UTC (rev 27837)
@@ -24,11 +24,11 @@
 
 
 def populateFake():
-    import fakeldap
-    fakeldap.addTreeItems('o=test,dc=org')
+    import FakeLDAP
+    FakeLDAP.addTreeItems('o=test,dc=org')
 
 def setUp(test):
-    import fakeldap
+    import FakeLDAP
     if sys.modules.has_key('_ldap'):
         test.old_uldap = sys.modules['_ldap']
         del sys.modules['_ldap']
@@ -39,7 +39,7 @@
         del sys.modules['ldap']
     else:
         test.old_ldap = None
-    sys.modules['ldap'] = fakeldap
+    sys.modules['ldap'] = FakeLDAP
     import ldap
     populateFake()
 



More information about the Zope-CVS mailing list