summaryrefslogtreecommitdiff
path: root/test/base/alltests.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/base/alltests.py')
-rw-r--r--test/base/alltests.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/base/alltests.py b/test/base/alltests.py
new file mode 100644
index 000000000..2ef5b8794
--- /dev/null
+++ b/test/base/alltests.py
@@ -0,0 +1,21 @@
+import testbase
+import unittest
+
+def suite():
+ modules_to_test = (
+ # core utilities
+ 'base.historyarray',
+ 'base.attributes',
+ 'base.dependency',
+ )
+ alltests = unittest.TestSuite()
+ for name in modules_to_test:
+ mod = __import__(name)
+ for token in name.split('.')[1:]:
+ mod = getattr(mod, token)
+ alltests.addTest(unittest.findTestCases(mod, suiteClass=None))
+ return alltests
+
+
+if __name__ == '__main__':
+ testbase.runTests(suite())