summaryrefslogtreecommitdiff
path: root/test/engine/alltests.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/engine/alltests.py')
-rw-r--r--test/engine/alltests.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/test/engine/alltests.py b/test/engine/alltests.py
new file mode 100644
index 000000000..c63cb2861
--- /dev/null
+++ b/test/engine/alltests.py
@@ -0,0 +1,28 @@
+import testbase
+import unittest
+
+
+def suite():
+ modules_to_test = (
+ # connectivity, execution
+ 'engine.parseconnect',
+ 'engine.pool',
+ 'engine.transaction',
+
+ # schema/tables
+ 'engine.reflection',
+
+ 'engine.proxy_engine'
+ )
+ 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())