Fix integration_tests/test_main.py to have correct exit code (#2010)

This commit is contained in:
Colin Versteeg 2019-10-04 14:25:28 -07:00 committed by George Wu
parent ace0b2ca1c
commit d5d1719c1f

View file

@ -28,3 +28,9 @@ if __name__ == '__main__':
runner = unittest.TextTestRunner(verbosity=2)
results = runner.run(suites)
if results.wasSuccessful():
exit(0)
else:
exit(1)