summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-12-28 11:50:33 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-12-28 11:50:33 +0100
commitd6b6405aa30fc974d954d75b79bcffd22a093737 (patch)
treeee9178407661364fc0e87e4b12da08cd753f9297 /tests
parent8e3e8cdc5571b647a2779ed23535e5da6df2afbf (diff)
downloadpykolab-d6b6405aa30fc974d954d75b79bcffd22a093737.tar.gz
Two more unit tests though just for imports
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/test-006-ldap_psearch.py7
-rw-r--r--tests/unit/test-007-ldap_syncrepl.py7
2 files changed, 14 insertions, 0 deletions
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
+