]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Use `_` to hint that the value does not matter 16494/head
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Thu, 13 Nov 2025 14:43:46 +0000 (09:43 -0500)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Thu, 13 Nov 2025 15:04:55 +0000 (10:04 -0500)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
regression-tests.dnsdist/test_OOOR.py

index a554ef19a1e42a1ebf57e6fa43570eb5c34d15af..c3486e2479da4c5241e706c33ae08c09468b80aa 100644 (file)
@@ -196,7 +196,7 @@ class TestOOORWithClientNotBackend(DNSDistTest):
 
         receivedResponses = {}
 
-        for name in names:
+        for _ in names:
             receivedResponse = self.recvTCPResponseOverConnection(conn)
             self.assertTrue(receivedResponse)
             receivedResponses[str(receivedResponse.question[0].name)] = (receivedResponse)
@@ -231,7 +231,7 @@ class TestOOORWithClientNotBackend(DNSDistTest):
 
         receivedResponses = {}
 
-        for name in names:
+        for _ in names:
             receivedResponse = self.recvTCPResponseOverConnection(conn)
             self.assertTrue(receivedResponse)
             receivedResponses[str(receivedResponse.question[0].name)] = (receivedResponse)
@@ -285,7 +285,7 @@ class TestOOORWithClientAndBackend(DNSDistTest):
 
         receivedResponses = {}
 
-        for name in names:
+        for _ in names:
             receivedResponse = self.recvTCPResponseOverConnection(conn)
             self.assertTrue(receivedResponse)
             receivedResponses[str(receivedResponse.question[0].name)] = (receivedResponse)
@@ -318,7 +318,7 @@ class TestOOORWithClientAndBackend(DNSDistTest):
 
         receivedResponses = {}
 
-        for name in names:
+        for _ in names:
             receivedResponse = self.recvTCPResponseOverConnection(conn)
             self.assertTrue(receivedResponse)
             receivedResponses[str(receivedResponse.question[0].name)] = (receivedResponse)