From 98883b8ff3ddb6bfe9615ab660c7bc107ec00594 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Fri, 18 Nov 2016 14:50:19 +0100 Subject: [PATCH] dnsdist: Fix a typo in the dynamic blocks regression tests --- regression-tests.dnsdist/test_DynBlocks.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/regression-tests.dnsdist/test_DynBlocks.py b/regression-tests.dnsdist/test_DynBlocks.py index c5bfdbb6c6..c4565d6290 100644 --- a/regression-tests.dnsdist/test_DynBlocks.py +++ b/regression-tests.dnsdist/test_DynBlocks.py @@ -43,7 +43,7 @@ class TestDynBlockQPS(DNSDistTest): else: # the query has not reached the responder, # let's clear the response queue - cls.clearToResponderQueue() + self.clearToResponderQueue() # we might be already blocked, but we should have been able to send # at least self._dynBlockQPS queries @@ -80,7 +80,7 @@ class TestDynBlockQPS(DNSDistTest): else: # the query has not reached the responder, # let's clear the response queue - cls.clearToResponderQueue() + self.clearToResponderQueue() # we might be already blocked, but we should have been able to send # at least self._dynBlockQPS queries @@ -147,7 +147,7 @@ class TestDynBlockQPSRefused(DNSDistTest): self.assertEquals(receivedResponse, refusedResponse) # the query has not reached the responder, # let's clear the response queue - cls.clearToResponderQueue() + self.clearToResponderQueue() # we might be already blocked, but we should have been able to send # at least self._dynBlockQPS queries @@ -185,7 +185,7 @@ class TestDynBlockQPSRefused(DNSDistTest): self.assertEquals(receivedResponse, refusedResponse) # the query has not reached the responder, # let's clear the response queue - cls.clearToResponderQueue() + self.clearToResponderQueue() # we might be already blocked, but we should have been able to send # at least self._dynBlockQPS queries @@ -265,7 +265,7 @@ class TestDynBlockServFails(DNSDistTest): else: # the query has not reached the responder, # let's clear the response queue - cls.clearToResponderQueue() + self.clearToResponderQueue() # we might be already blocked, but we should have been able to send # at least self._dynBlockQPS queries @@ -317,7 +317,7 @@ class TestDynBlockServFails(DNSDistTest): else: # the query has not reached the responder, # let's clear the response queue - cls.clearToResponderQueue() + self.clearToResponderQueue() # we might be already blocked, but we should have been able to send # at least self._dynBlockQPS queries @@ -384,7 +384,7 @@ class TestDynBlockResponseBytes(DNSDistTest): else: # the query has not reached the responder, # let's clear the response queue - cls.clearToResponderQueue() + self.clearToResponderQueue() # we might be already blocked, but we should have been able to send # at least self._dynBlockBytesPerSecond bytes @@ -421,7 +421,7 @@ class TestDynBlockResponseBytes(DNSDistTest): else: # the query has not reached the responder, # let's clear the response queue - cls.clearToResponderQueue() + self.clearToResponderQueue() # we might be already blocked, but we should have been able to send # at least self._dynBlockBytesPerSecond bytes -- 2.47.3