From 15bb322199a265dd40c6a56e20583a199b5ea3b2 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Thu, 4 Jul 2024 13:51:36 +0200 Subject: [PATCH] Chore: Fix `test_connect_non_json_response` by making it more lenient --- tests/test_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_core.py b/tests/test_core.py index 541dece..ea097fb 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -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")