summaryrefslogtreecommitdiffhomepage
path: root/test/run.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2020-03-10 18:10:42 +0000
committerAndrei Zeliankou <zelenkov@nginx.com>2020-03-10 18:10:42 +0000
commitf36f0f2461a7f0447e92f977ff9c0c71fcb08ffb (patch)
treeacbe2e5f719dd6b81312be0b03762013b68505d2 /test/run.py
parent810b8dbb6798bd8ddcbafae7ecd9e5ee535c92f4 (diff)
downloadunit-f36f0f2461a7f0447e92f977ff9c0c71fcb08ffb.tar.gz
unit-f36f0f2461a7f0447e92f977ff9c0c71fcb08ffb.tar.bz2
Tests: redirect tests output to the stdout.
Diffstat (limited to '')
-rwxr-xr-xtest/run.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run.py b/test/run.py
index b79d0484..59e06bcb 100755
--- a/test/run.py
+++ b/test/run.py
@@ -12,7 +12,7 @@ if __name__ == '__main__':
tests = loader.discover(start_dir=this_dir)
suite.addTests(tests)
- runner = unittest.TextTestRunner(verbosity=3)
+ runner = unittest.TextTestRunner(stream=sys.stdout, verbosity=3)
result = runner.run(suite)
ret = not (len(result.failures) == len(result.errors) == 0)