Skip to content

Commit

Permalink
Chore: Fix test_connect_non_json_response by making it more lenient
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Jul 4, 2024
1 parent 5349e1c commit 15bb322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ def test_connect_non_json_response():
wtf = GrafanaWtf("https://example.org/")
with pytest.raises(ConnectionError) as ex:
_ = wtf.health
assert ex.match("The request to https://example.org/api/health failed: Client Error 404")
assert ex.match("The request to https://example.org/api/health failed")

0 comments on commit 15bb322

Please sign in to comment.