From e1c43585c7777a26078797d1fe7d53228508fc37 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Fri, 29 Mar 2024 14:32:39 +0100 Subject: [PATCH] Tests: Fix flaky test when httpbin.org responds with "Server Error 502" --- test/test_grafana_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_grafana_client.py b/test/test_grafana_client.py index 750a666..e3c6f9c 100644 --- a/test/test_grafana_client.py +++ b/test/test_grafana_client.py @@ -159,7 +159,7 @@ def test_grafana_client_version(self, mock_get): self.assertEqual(grafana.version, "9.0.1") def test_grafana_client_non_json_response(self): - grafana = GrafanaApi.from_url("https://httpbin.org/html") + grafana = GrafanaApi.from_url("https://example.org/") self.assertRaises(GrafanaClientError, lambda: grafana.connect()) def test_grafana_client_204_no_content_response(self):