From 3fc4b1e77056619e434ec324aed6545e26da2f28 Mon Sep 17 00:00:00 2001 From: Yury Selivanov Date: Fri, 30 Mar 2018 16:30:58 -0400 Subject: Initial commit --- tests/__init__.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/__init__.py (limited to 'tests/__init__.py') diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..fa393d9 --- /dev/null +++ b/tests/__init__.py @@ -0,0 +1,14 @@ +import sys +import unittest + + +def suite(): + test_loader = unittest.TestLoader() + test_suite = test_loader.discover('.', pattern='test_*.py') + return test_suite + + +if __name__ == '__main__': + runner = unittest.runner.TextTestRunner() + result = runner.run(suite()) + sys.exit(not result.wasSuccessful()) -- cgit v1.2.3