]> granicus.if.org Git - pdns/commitdiff
regression-tests.recursor-dnssec: improve equality test output
authorChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Mon, 27 Nov 2017 14:06:02 +0000 (15:06 +0100)
committerChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Sun, 10 Dec 2017 12:35:43 +0000 (13:35 +0100)
regression-tests.recursor-dnssec/recursortests.py

index a33c259660bec515a4b9f70a5e092d57ada0c776..7b318e292f39f5f0cb93829c12501c4d4ad7e351 100644 (file)
@@ -693,7 +693,7 @@ distributor-threads=1""".format(confdir=confdir,
         for ans in msg.answer:
             ret += "%s\n" % ans.to_text()
             if ans.match(rrset.name, rrset.rdclass, rrset.rdtype, 0, None):
-                self.assertEqual(ans, rrset)
+                self.assertEqual(ans, rrset, "'%s' != '%s'" % (ans.to_text(), rrset.to_text()))
                 found = True
 
         if not found: