aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_load.py
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2012-02-16 17:51:01 +0100
committerMatěj Cepl <mcepl@redhat.com>2012-02-16 17:51:01 +0100
commitf78eca9d4be9b3b7e1177823a9f520faa5b4055b (patch)
tree7dd5841d046557aa884483af9573958aa492f0d4 /test/test_load.py
parent7d08baca38827b59af9592e415bc4778fb8c4958 (diff)
downloadyamlish-f78eca9d4be9b3b7e1177823a9f520faa5b4055b.tar.gz
More tests and deleted yamlishwriter-php (there is really nothing there).
Diffstat (limited to 'test/test_load.py')
-rw-r--r--test/test_load.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/test_load.py b/test/test_load.py
new file mode 100644
index 0000000..852dd29
--- /dev/null
+++ b/test/test_load.py
@@ -0,0 +1,15 @@
+# -*- coding: utf-8 -*-
+import unittest
+
+class TestBasics(unittest.TestCase):
+ def test_import(self):
+ import yamlish
+ from yamlish import Reader
+ self.assert_(True, "Importing Reader.")
+ from yamlish import Writer
+ self.assert_(True, "Importing Writer.")
+ self.assert_(True,
+ "Testing import of yamlish, version %s." % yamlish.__version__)
+
+if __name__ == "__main__":
+ unittest.main()