summaryrefslogtreecommitdiffstats
path: root/tests/unit/test-000-imports.py
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-07-20 09:20:19 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-07-20 09:20:19 +0200
commita91c6f384436c910e7f98dfbec5765026fe4e0c5 (patch)
tree99dad86dbc2acd480c6c8f621cd8904863eb1a48 /tests/unit/test-000-imports.py
parent30ea265c66630f7961aa957ea8448086977f7a4f (diff)
downloadpykolab-a91c6f384436c910e7f98dfbec5765026fe4e0c5.tar.gz
Add some functional tests, move unit tests to separate directory
Diffstat (limited to 'tests/unit/test-000-imports.py')
-rw-r--r--tests/unit/test-000-imports.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/unit/test-000-imports.py b/tests/unit/test-000-imports.py
new file mode 100644
index 0000000..17e1c57
--- /dev/null
+++ b/tests/unit/test-000-imports.py
@@ -0,0 +1,23 @@
+import unittest
+
+class TestImports(unittest.TestCase):
+ def test_pykolab(self):
+ import pykolab
+
+ def test_pykolab_xml(self):
+ import pykolab.xml
+
+ def test_pykolab_xml_attendee(self):
+ from pykolab.xml import Attendee
+
+ def test_pykolab_xml_contact(self):
+ from pykolab.xml import Contact
+
+ def test_pykolab_xml_contactReference(self):
+ from pykolab.xml import ContactReference
+
+ def test_pykolab_xml_event(self):
+ from pykolab.xml import Event
+
+if __name__ == '__main__':
+ unittest.main()