aboutsummaryrefslogtreecommitdiffstats
path: root/test/all_tests.py
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2012-02-16 16:24:51 +0100
committerMatěj Cepl <mcepl@redhat.com>2012-02-16 16:24:51 +0100
commit7d08baca38827b59af9592e415bc4778fb8c4958 (patch)
treef6ad4a356235367d6a741d197e04f619f65c70a2 /test/all_tests.py
parentd7e73ec4c238d0eb1c5493bb90c022d683123296 (diff)
downloadyamlish-7d08baca38827b59af9592e415bc4778fb8c4958.tar.gz
Start building tests.
Diffstat (limited to 'test/all_tests.py')
-rw-r--r--test/all_tests.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/all_tests.py b/test/all_tests.py
new file mode 100644
index 0000000..f4f3bbe
--- /dev/null
+++ b/test/all_tests.py
@@ -0,0 +1,11 @@
+import unittest
+import load, input, reader, output, writer
+
+add_tests_from_class = unittest.TestLoader().loadTestsFromTestCase
+
+suite = unittest.TestSuite()
+suite.addTest(add_tests_from_class(load.TestBasics))
+suite.addTest(add_tests_from_class(TestHappyPath))
+suite.addTest(add_tests_from_class(TestBadPath))
+suite.addTest(add_tests_from_class(TestPiglitData))
+suite.addTest(add_tests_from_class(TestMainArgsMgmt))