summaryrefslogtreecommitdiffhomepage
path: root/test/run.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2020-09-16 21:31:15 +0100
committerAndrei Zeliankou <zelenkov@nginx.com>2020-09-16 21:31:15 +0100
commitd5e915934066c77a59d211efafca10c117b73d05 (patch)
treef894a3c09bd8aa43e87276eed377eb09f97e46fe /test/run.py
parent77ecb6ab49257dd662aa9c461fed3dc1d74e5092 (diff)
downloadunit-d5e915934066c77a59d211efafca10c117b73d05.tar.gz
unit-d5e915934066c77a59d211efafca10c117b73d05.tar.bz2
Tests: migrated to the pytest.
Diffstat (limited to 'test/run.py')
-rwxr-xr-xtest/run.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/test/run.py b/test/run.py
deleted file mode 100755
index 384663f9..00000000
--- a/test/run.py
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/env python3
-import os
-import sys
-import unittest
-
-if __name__ == '__main__':
- loader = unittest.TestLoader()
- suite = unittest.TestSuite()
-
- this_dir = os.path.dirname(__file__)
- tests = loader.discover(start_dir=this_dir)
- suite.addTests(tests)
-
- runner = unittest.TextTestRunner(stream=sys.stdout, verbosity=3)
- result = runner.run(suite)
-
- ret = not (len(result.failures) == len(result.errors) == 0)
-
- sys.exit(ret)