Skip to content

Commit

Permalink
style: Happy linter
Browse files Browse the repository at this point in the history
  • Loading branch information
SRFU-NN committed Aug 10, 2023
1 parent c94e358 commit a1cc800
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/OptiHPLCHandler/empower_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def PostExperiment(
if response.status_code != 201:
if response.status_code == 404:
raise ValueError(
f"Could not post sample set method. Resource not found."
"Could not post sample set method. Resource not found."
)
raise ValueError(
f"Could not post sample set method. Response: {response.text}"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_proxy_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def test_empower_handler_post_sample_list_error(self, mock_requests):
plate_list=[],
audit_trail_message="test_audit_trail_message",
)
assert "Response: mock_error_message" in context.exception.args[0]
assert "Response: mock_error_message" in context.exception.args[0]

def test_empower_handler_add_method(self):
with self.assertRaises(NotImplementedError):
Expand Down

0 comments on commit a1cc800

Please sign in to comment.