1 2 3 4 5 6 7 8 9
--- tests/runtests.py +++ tests/runtests.py @@ -41,4 +41,5 @@ suite.addTest(loader.loadTestsFromName(name)) testRunner = unittest.TextTestRunner() -testRunner.run(suite) +result = testRunner.run(suite) +sys.exit(not result.wasSuccessful())