Tests: redirect tests output to the stdout.

This commit is contained in:
Andrei Zeliankou
2020-03-10 18:10:42 +00:00
parent 810b8dbb67
commit f36f0f2461
6 changed files with 20 additions and 13 deletions

View File

@@ -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)