From 95ce8a9fe4a2036a16fc5a4de8135ff47bfce0f4 Mon Sep 17 00:00:00 2001 From: Ryan Hu Date: Wed, 20 Nov 2019 16:22:41 +1300 Subject: [PATCH] Added test all --- tests/test_all.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/test_all.py diff --git a/tests/test_all.py b/tests/test_all.py new file mode 100644 index 0000000..48068bf --- /dev/null +++ b/tests/test_all.py @@ -0,0 +1,18 @@ +import unittest + +from .test_command import CommandTestCase +from .test_reply import ReplyTestCase +from .test_bus import BusTestCase + +def create_suite(): + test_suite = unittest.TestSuite() + test_suite.addTest(CommandTestCase()) + test_suite.addTest(ReplyTestCase()) + test_suite.addTest(BusTestCase()) + return test_suite + +if __name__ == '__main__': + suite = create_suite() + + runner=unittest.TextTestRunner() + runner.run(suite) \ No newline at end of file