[Zope-CVS] SVN: ldapauth/trunk/tests/test_ldapsource.py Added simple_bind_s() after initialize() in main method for to add tests data

Roger Ineichen roger at projekt01.ch
Tue Jul 6 19:04:35 EDT 2004


Log message for revision 26146:
Added simple_bind_s() after initialize() in main method for to add tests data


-=-
Modified: ldapauth/trunk/tests/test_ldapsource.py
===================================================================
--- ldapauth/trunk/tests/test_ldapsource.py	2004-07-06 21:15:35 UTC (rev 26145)
+++ ldapauth/trunk/tests/test_ldapsource.py	2004-07-06 23:04:34 UTC (rev 26146)
@@ -63,6 +63,7 @@
 if __name__=='__main__':
     import ldap
     l = ldap.initialize('ldap://localhost:389')
+    l.simple_bind_s('cn=Manager,dc=fake', 'root')
     l.add_s('uid=toto_l,ou=people,dc=fake',
             (('uid', 'toto_l'),
              ('userPassword', 'toto_p')))



More information about the Zope-CVS mailing list