Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Commit

Permalink
chore: improve test resiliency
Browse files Browse the repository at this point in the history
  • Loading branch information
miwurster committed Dec 21, 2023
1 parent f123eff commit c053b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/planqk/test_planqk_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def test_invalid_token(self, mock_get):
_PlanqkClient.get_backend("123")

# Then
self.assertEqual(error_response.exception.message, "Invalid personal access token provided.")
assert "Invalid personal access token provided." in error_response.exception.message

@patch("requests.get")
def test_planqk_client_error(self, mock_get):
Expand Down

0 comments on commit c053b16

Please sign in to comment.