]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
chore: Remove unused variable `r`
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Fri, 7 Nov 2025 14:07:12 +0000 (09:07 -0500)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Fri, 7 Nov 2025 17:11:48 +0000 (12:11 -0500)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
regression-tests.recursor-dnssec/test_API.py

index d9714b0af292cde81c12e542f5f8cf1211da8198..310338f2d4ab7768ef65168228aa463f48823339 100644 (file)
@@ -49,7 +49,7 @@ api-key=%s
         headers = {'x-api-key': self._apiKey}
         url = 'http://127.0.0.1:' + str(self._wsPort) + '/api/v1/servers/localhost/statistics'
         try:
-            r = requests.get(url, headers=headers, timeout=self._wsTimeout)
+            requests.get(url, headers=headers, timeout=self._wsTimeout)
             self.assertTrue(False)
         except requests.exceptions.ConnectionError as exp:
             pass