diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index 9b62b358..8be3de59 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -2,11 +2,11 @@ ACCEPTABLE_FAILURE_RATE = 10 + @pytest.hookimpl() def pytest_sessionfinish(session, exitstatus): - if exitstatus==0: + if exitstatus == 0: return failure_rate = (100.0 * session.testsfailed) / session.testscollected if failure_rate <= ACCEPTABLE_FAILURE_RATE: session.exitstatus = 0 -