aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_load.py
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2012-02-23 16:44:57 +0100
committerMatěj Cepl <mcepl@redhat.com>2012-02-23 19:54:04 +0100
commit170d827e642de4980049c2ea71ebcf1852e29c9c (patch)
tree0663acce589b5a288cb2ff2ac29e8e23307e2a70 /test/test_load.py
parent91e4adcbc3e7bd459b52cd98a1cdd9239998b09f (diff)
downloadyamlish-170d827e642de4980049c2ea71ebcf1852e29c9c.tar.gz
Input/Read test succeed!
Diffstat (limited to 'test/test_load.py')
-rw-r--r--test/test_load.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/test_load.py b/test/test_load.py
index 852dd29..a86364b 100644
--- a/test/test_load.py
+++ b/test/test_load.py
@@ -4,11 +4,9 @@ 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,
+ from yamlish import Reader #IGNORE:W0612
+ from yamlish import Writer #IGNORE:W0612
+ self.assertTrue(yamlish.__version__,
"Testing import of yamlish, version %s." % yamlish.__version__)
if __name__ == "__main__":