--- 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__':