tests/unit

Jeroen van Meeuwen vanmeeuwen at kolabsys.com
Fri Dec 28 11:50:48 CET 2012


 tests/unit/test-006-ldap_psearch.py  |    7 +++++++
 tests/unit/test-007-ldap_syncrepl.py |    7 +++++++
 2 files changed, 14 insertions(+)

New commits:
commit d6b6405aa30fc974d954d75b79bcffd22a093737
Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>
Date:   Fri Dec 28 11:50:33 2012 +0100

    Two more unit tests though just for imports

diff --git a/tests/unit/test-006-ldap_psearch.py b/tests/unit/test-006-ldap_psearch.py
new file mode 100644
index 0000000..9b4e0cd
--- /dev/null
+++ b/tests/unit/test-006-ldap_psearch.py
@@ -0,0 +1,7 @@
+import unittest
+
+class TestLDAPPsearch(unittest.TestCase):
+
+    def test_001_import_psearch(self):
+        from ldap.controls import psearch
+
diff --git a/tests/unit/test-007-ldap_syncrepl.py b/tests/unit/test-007-ldap_syncrepl.py
new file mode 100644
index 0000000..e09579f
--- /dev/null
+++ b/tests/unit/test-007-ldap_syncrepl.py
@@ -0,0 +1,7 @@
+import unittest
+
+class TestLDAPSyncrepl(unittest.TestCase):
+
+    def test_001_import_syncrepl(self):
+        from ldap import syncrepl
+





More information about the commits mailing list