From c6fecedcd6e9088f61708a8de03f69bfd0c22cae Mon Sep 17 00:00:00 2001 From: betolink Date: Thu, 29 Feb 2024 06:36:11 -0600 Subject: [PATCH] making ruff happy --- tests/integration/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -