Download:
child 229:2d2ee1d1d823
parent 227:b6b7b5f902ba
228:f45f894eb706
Anton Shestakov <av6@dwimlabs.net>, Thu, 25 Aug 2016 11:40:24 +0800
tests: don't ignore exit code from pytest.main()

1 файлов изменено, 1 вставок(+), 1 удалений(-) [+]
run-tests.py file | annotate | diff | comparison | revisions
--- a/run-tests.py Thu Aug 25 11:22:09 2016 +0800
+++ b/run-tests.py Thu Aug 25 11:40:24 2016 +0800
@@ -15,7 +15,7 @@
database.connect = Mock()
database.close = Mock()
- pytest.main(['tests'] + sys.argv[1:])
+ sys.exit(pytest.main(['tests'] + sys.argv[1:]))
if __name__ == '__main__':