From b7f9136f4c1cce3a9e92e5639994952391908b6d Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Thu, 3 Oct 2019 15:26:23 +0200 Subject: [PATCH] (uselessly) add eqdnsmessage to auth testing --- regression-tests.auth-py/authtests.py | 5 +++-- regression-tests.auth-py/eqdnsmessage.py | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) create mode 120000 regression-tests.auth-py/eqdnsmessage.py diff --git a/regression-tests.auth-py/authtests.py b/regression-tests.auth-py/authtests.py index 9737ef868..cedbb3a45 100644 --- a/regression-tests.auth-py/authtests.py +++ b/regression-tests.auth-py/authtests.py @@ -14,8 +14,9 @@ import dns import dns.message from pprint import pprint +from eqdnsmessage import AssertEqualDNSMessageMixin -class AuthTest(unittest.TestCase): +class AuthTest(AssertEqualDNSMessageMixin, unittest.TestCase): """ Setup auth required for the tests """ @@ -341,7 +342,7 @@ options { def setUp(self): # This function is called before every tests - return + super(AuthTest, self).setUp() ## Functions for comparisons def assertMessageHasFlags(self, msg, flags, ednsflags=[]): diff --git a/regression-tests.auth-py/eqdnsmessage.py b/regression-tests.auth-py/eqdnsmessage.py new file mode 120000 index 000000000..d9a56a87a --- /dev/null +++ b/regression-tests.auth-py/eqdnsmessage.py @@ -0,0 +1 @@ +../contrib/assert-equal-DNSMessage/eqdnsmessage.py \ No newline at end of file -- 2.40.0