aboutsummaryrefslogtreecommitdiff
path: root/tests/__init__.py
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2018-03-30 16:30:58 -0400
committerYury Selivanov <yury@magic.io>2018-03-30 17:11:05 -0400
commit3fc4b1e77056619e434ec324aed6545e26da2f28 (patch)
tree964fffb52124febe1678afe985c47c87825b1214 /tests/__init__.py
downloadimmutables-3fc4b1e77056619e434ec324aed6545e26da2f28.tar.gz
immutables-3fc4b1e77056619e434ec324aed6545e26da2f28.zip
Initial commit
Diffstat (limited to 'tests/__init__.py')
-rw-r--r--tests/__init__.py14
1 files changed, 14 insertions, 0 deletions
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())