From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 13 Nov 2025 15:24:18 +0000 (-0500) Subject: Ignore return from `requests.get` X-Git-Tag: rec-5.4.0-alpha1~83^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef19bb0443e68f6c8949e802fe0d1b4135f97ec7;p=thirdparty%2Fpdns.git Ignore return from `requests.get` Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- diff --git a/regression-tests.dnsdist/test_API.py b/regression-tests.dnsdist/test_API.py index 939c018146..a008af420f 100644 --- a/regression-tests.dnsdist/test_API.py +++ b/regression-tests.dnsdist/test_API.py @@ -694,7 +694,7 @@ class TestAPIACL(APITestsBase): url = 'http://127.0.0.1:' + str(self._webServerPort) + "/" try: - r = requests.get(url, auth=('whatever', self._webServerBasicAuthPassword), timeout=self._webTimeout) + requests.get(url, auth=('whatever', self._webServerBasicAuthPassword), timeout=self._webTimeout) self.assertTrue(False) except requests.exceptions.ConnectionError as exp: pass