From e3229ef917fdf7cd3cb01ca4124cf7d01c4db203 Mon Sep 17 00:00:00 2001 From: TheBurchLog <5104941+TheBurchLog@users.noreply.github.com> Date: Tue, 26 Nov 2024 14:21:59 -0500 Subject: [PATCH] Formatting --- brewtils/rest/easy_client.py | 2 +- test/rest/conftest.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/brewtils/rest/easy_client.py b/brewtils/rest/easy_client.py index 1b860f65..dab74334 100644 --- a/brewtils/rest/easy_client.py +++ b/brewtils/rest/easy_client.py @@ -78,7 +78,7 @@ def handle_response_failure(response, default_exc=RestError, raise_404=True): if raise_404: raise NotFoundError(message) else: - return None + return None elif response.status_code == 409: raise ConflictError(message) elif response.status_code == 413: diff --git a/test/rest/conftest.py b/test/rest/conftest.py index 96e8cab3..64564628 100644 --- a/test/rest/conftest.py +++ b/test/rest/conftest.py @@ -23,9 +23,7 @@ def not_found(): @pytest.fixture def wait_exceeded(): - return Mock( - ok=False, status_code=504, json=Mock(return_value="payload") - ) + return Mock(ok=False, status_code=504, json=Mock(return_value="payload")) @pytest.fixture