summaryrefslogtreecommitdiff
path: root/migration-test/test.py
diff options
context:
space:
mode:
authorMichaƂ Klichowicz <emkael@tlen.pl>2020-05-16 19:26:44 +0200
committerGitHub <noreply@github.com>2020-05-16 19:26:44 +0200
commite34beab42e1c64965e7567e9e37fc3390fe79710 (patch)
tree6f3418eaac05ca451eb2c522fb2b4ac21729571d /migration-test/test.py
parentb70009db358e73b374b48a9bad3d981da37040ef (diff)
parent00d867eb3e83a23157f593593063c6dfffb49aa6 (diff)
Merge pull request #5 from PZBS/local-b-net
BridgeNET Lokalny
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)