Skip to content

Commit

Permalink
Merge pull request #825 from theupdateframework/quieter_tests_2
Browse files Browse the repository at this point in the history
Reduce test spam by using unittest output buffering
  • Loading branch information
awwad authored Feb 20, 2019
2 parents 0b82d9a + eb60084 commit 1fc7da7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/aggregate_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@

if __name__ == '__main__':
suite = unittest.TestLoader().loadTestsFromNames(test_modules_to_run)
all_tests_passed = unittest.TextTestRunner(verbosity=1).run(suite).wasSuccessful()
all_tests_passed = unittest.TextTestRunner(
verbosity=1, buffer=True).run(suite).wasSuccessful()
if not all_tests_passed:
sys.exit(1)

Expand Down

0 comments on commit 1fc7da7

Please sign in to comment.