[Zope-CVS] SVN: ldapadapter/trunk/ Added tests

Roger Ineichen roger at projekt01.ch
Sat Oct 9 08:22:49 EDT 2004


Log message for revision 27813:
  Added tests


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


-=-
Modified: ldapadapter/trunk/README.txt
===================================================================
--- ldapadapter/trunk/README.txt	2004-10-09 12:19:40 UTC (rev 27812)
+++ ldapadapter/trunk/README.txt	2004-10-09 12:22:49 UTC (rev 27813)
@@ -14,3 +14,18 @@
 
   >>> from ldapadapter.interfaces import ILDAPAdapter
   >>> from ldapadapter.interfaces import ILDAPConnection
+  >>> from ldapadapter.utility import LDAPAdapter
+  >>> from ldapadapter.utility import LDAPConnection
+  
+  >>> host = u'localhost'
+  >>> port = 389
+  >>> useSSL = False
+  >>> da = LDAPAdapter(host, port)
+  >>> da.host
+  u'localhost'
+  
+  >>> da.port
+  389
+  
+  >>> da.useSSL
+  False

Modified: ldapadapter/trunk/tests/test_ldapadapter.py
===================================================================
--- ldapadapter/trunk/tests/test_ldapadapter.py	2004-10-09 12:19:40 UTC (rev 27812)
+++ ldapadapter/trunk/tests/test_ldapadapter.py	2004-10-09 12:22:49 UTC (rev 27813)
@@ -13,7 +13,7 @@
 ##############################################################################
 """LDAPAdapter tests
 
-$Id:$
+$Id$
 """
 __docformat__ = "reStructuredText"
 import unittest



More information about the Zope-CVS mailing list