aboutsummaryrefslogtreecommitdiffstats
path: root/test/all_tests.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/all_tests.py
parent91e4adcbc3e7bd459b52cd98a1cdd9239998b09f (diff)
downloadyamlish-170d827e642de4980049c2ea71ebcf1852e29c9c.tar.gz
Input/Read test succeed!
Diffstat (limited to 'test/all_tests.py')
-rw-r--r--test/all_tests.py16
1 files changed, 11 insertions, 5 deletions
diff --git a/test/all_tests.py b/test/all_tests.py
index 4a1a532..66e069b 100644
--- a/test/all_tests.py
+++ b/test/all_tests.py
@@ -1,16 +1,22 @@
+import sys
+import os.path
+sys.path.insert(0, os.path.realpath(os.path.dirname(__file__) + "/.."))
+
+import logging
+logging.basicConfig(level=logging.INFO)
import unittest
import test_load
import test_input
-#import test_reader
+import test_reader
import test_output
-#import test_writer
+import test_writer
if __name__ == "__main__":
loader = unittest.TestLoader()
suite = loader.loadTestsFromModule(test_load)
- suite.addTests(loader.loadTestsFromModule(test_input))
- #suite.addTests(loader.loadTestsFromModule(test_reader))
- suite.addTests(loader.loadTestsFromModule(test_output))
+ #suite.addTests(loader.loadTestsFromModule(test_input))
+ suite.addTests(loader.loadTestsFromModule(test_reader))
+ #suite.addTests(loader.loadTestsFromModule(test_output))
#suite.addTests(loader.loadTestsFromModule(test_writer))
runner = unittest.TextTestRunner(verbosity=2)