From: Chris Hofstaedtler Date: Mon, 27 Nov 2017 14:06:02 +0000 (+0100) Subject: regression-tests.recursor-dnssec: improve equality test output X-Git-Tag: dnsdist-1.3.0~152^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=de9650d11ab649d813fb03a90f9508805fc56f31;p=pdns regression-tests.recursor-dnssec: improve equality test output --- diff --git a/regression-tests.recursor-dnssec/recursortests.py b/regression-tests.recursor-dnssec/recursortests.py index a33c25966..7b318e292 100644 --- a/regression-tests.recursor-dnssec/recursortests.py +++ b/regression-tests.recursor-dnssec/recursortests.py @@ -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: