]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Remove (now) unneeded debug prints
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 25 Oct 2022 11:49:40 +0000 (13:49 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 25 Oct 2022 11:49:40 +0000 (13:49 +0200)
regression-tests.auth-py/test_IXFR.py

index c1803a66c44ee40d287955c35ea115c826fd2b6f..755ae125044e07878d1b55b816a86f1bc96048ce 100644 (file)
@@ -148,19 +148,13 @@ negquery-cache-ttl=60
             answerPos = answerPos + 1
 
     def test_a_XFR(self):
-        print("x1")
         self.waitUntilCorrectSerialIsLoaded(1)
-        print("x2")
         self.checkFullZone(1)
-        print("x3")
 
         self.waitUntilCorrectSerialIsLoaded(2)
-        print("x4")
         self.checkFullZone(2)
-        print("x5")
 
         self.waitUntilCorrectSerialIsLoaded(3)
-        print("x7")
         self.checkFullZone(3, data=["""
 $ORIGIN example.""","""
 @        86400   SOA    foo bar 3 2 3 4 5
@@ -171,10 +165,8 @@ ns1.example.    4242    A       192.0.2.1
 ns2.example.    4242    A       192.0.2.2
 newrecord.example.        8484    A       192.0.2.42
 """])
-        print("x8")
 
         self.waitUntilCorrectSerialIsLoaded(5)
-        print("x7")
         self.checkFullZone(5, data=["""
 $ORIGIN example.""","""
 @        86400   SOA    foo bar 5 2 3 4 5
@@ -186,7 +178,6 @@ ns1.example.    4242    A       192.0.2.1
 ns2.example.    4242    A       192.0.2.2
 newrecord.example.        8484    A       192.0.2.42
 """])
-        print("x8")
 
 
     # _b_ because we expect post-XFR testing state
@@ -223,7 +214,6 @@ newrecord.example.        8484    A       192.0.2.42
 
     def test_d_XFR(self):
         self.waitUntilCorrectSerialIsLoaded(8)
-        print("x7")
         self.checkFullZone(7, data=["""
 $ORIGIN example.""","""
 @        86400   SOA    foo bar 8 2 3 4 5
@@ -235,10 +225,9 @@ ns1.example.    4242    A       192.0.2.1
 ns2.example.    4242    A       192.0.2.2
 newrecord.example.        8484    A       192.0.2.42
 """])
-        print("x8")
         ret = subprocess.check_output([os.environ['PDNSUTIL'],
                            '--config-dir=configs/auth',
                            'list-zone', 'example'], stderr=subprocess.STDOUT)
         rets = ret.split(b'\n')
 
-        self.assertEqual(1, sum(b'SOA' in l for l in ret.split(b'\n')))
\ No newline at end of file
+        self.assertEqual(1, sum(b'SOA' in l for l in ret.split(b'\n')))