]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - regression-tests.recursor-dnssec/test_TTL.py
Merge pull request #13509 from rgacogne/ddist-teeaction-proxyprotocol
[thirdparty/pdns.git] / regression-tests.recursor-dnssec / test_TTL.py
index 68251572f0e2dd94b041a71153542c4c28632795..3c1d78f51768f21e11c27d810ca20f3342c9e954 100644 (file)
@@ -25,6 +25,6 @@ max-cache-bogus-ttl=5"""
         res = self.sendUDPQuery(query)
         self.assertMessageHasFlags(res, ['CD', 'QR', 'RA', 'RD'], ['DO'])
         self.assertRcodeEqual(res, dns.rcode.NOERROR)
-        self.assertEquals(len(res.answer), 2)
+        self.assertEqual(len(res.answer), 2)
         for ans in res.answer:
             self.assertLessEqual(ans.ttl, 5)