]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Ignore return from `requests.get`
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Thu, 13 Nov 2025 15:24:18 +0000 (10:24 -0500)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Thu, 13 Nov 2025 15:24:18 +0000 (10:24 -0500)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
regression-tests.dnsdist/test_API.py

index 939c0181464d96bf1df63ce25c67fa884d42032a..a008af420f4074112dbdcf9fcf0545a421aa4347 100644 (file)
@@ -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