]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - regression-tests.recursor-dnssec/test_ExtendedErrors.py
tests: stop using deprecated unittest names
[thirdparty/pdns.git] / regression-tests.recursor-dnssec / test_ExtendedErrors.py
index f501173ab44c2cdb38f653b900154c0de409b35b..0d1a6851abaabe173b52a782dc63029d8531e079 100644 (file)
@@ -191,13 +191,13 @@ log-common-errors=yes
         # should not have the Extended Option since the packet is too large already
         res = self.sendUDPQuery(query, timeout=5.0)
         self.assertRcodeEqual(res, dns.rcode.NOERROR)
-        self.assertEquals(len(res.answer), 1)
+        self.assertEqual(len(res.answer), 1)
         self.assertEqual(res.edns, 0)
         self.assertEqual(len(res.options), 0)
 
         res = self.sendTCPQuery(query, timeout=5.0)
         self.assertRcodeEqual(res, dns.rcode.NOERROR)
-        self.assertEquals(len(res.answer), 1)
+        self.assertEqual(len(res.answer), 1)
         self.assertEqual(res.edns, 0)
         self.assertEqual(len(res.options), 1)
         self.assertEqual(res.options[0].otype, 15)