Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBurchLog committed Nov 26, 2024
1 parent eb900a7 commit e3229ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion brewtils/rest/easy_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 1 addition & 3 deletions test/rest/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e3229ef

Please sign in to comment.