summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/test.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/client/test.py b/client/test.py
index 0c35cbf..29b9ce0 100644
--- a/client/test.py
+++ b/client/test.py
@@ -205,6 +205,9 @@ if __name__ == '__main__':
test_cases.append(TestG2P)
test_cases.append(TestMic)
+ suite = unittest.TestSuite()
+
for test_case in test_cases:
- suite = unittest.TestLoader().loadTestsFromTestCase(test_case)
- unittest.TextTestRunner(verbosity=2).run(suite)
+ suite.addTests(unittest.TestLoader().loadTestsFromTestCase(test_case))
+
+ unittest.TextTestRunner(verbosity=2).run(suite)