summaryrefslogtreecommitdiff
path: root/migration-test/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'migration-test/test.py')
-rw-r--r--migration-test/test.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/migration-test/test.py b/migration-test/test.py
new file mode 100644
index 0000000..d11e1cb
--- /dev/null
+++ b/migration-test/test.py
@@ -0,0 +1,12 @@
+import sys
+import unittest
+
+import tests.ApiTest
+
+if __name__ == '__main__':
+ suite = unittest.TestLoader().loadTestsFromModule(tests.ApiTest) \
+ if len(sys.argv) < 2 \
+ else unittest.TestLoader().loadTestsFromNames(
+ ['tests.ApiTest.ApiTestCase.test_%sCases' % (s)
+ for s in sys.argv[1:]])
+ unittest.TextTestRunner(verbosity=2).run(suite)