Skip to content

Commit b0273f0

Browse files
committed
Chore: Fix test_connect_non_json_response by making it more lenient
1 parent d8f9030 commit b0273f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ def test_connect_non_json_response():
6565
wtf = GrafanaWtf("https://example.org/")
6666
with pytest.raises(ConnectionError) as ex:
6767
_ = wtf.health
68-
assert ex.match("The request to https://example.org/api/health failed: Client Error 404")
68+
assert ex.match("The request to https://example.org/api/health failed")

0 commit comments

Comments
 (0)