From 407404c5333c103bb89767e1716abb4f83652371 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Fri, 22 Apr 2016 13:07:47 +0200 Subject: [PATCH] Add AD flag to queries in the simple tests --- regression-tests.recursor-dnssec/test_Simple.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/regression-tests.recursor-dnssec/test_Simple.py b/regression-tests.recursor-dnssec/test_Simple.py index d0631f8ae..a9e762f4c 100644 --- a/regression-tests.recursor-dnssec/test_Simple.py +++ b/regression-tests.recursor-dnssec/test_Simple.py @@ -10,6 +10,7 @@ class testSimple(RecursorTest): for zone in ['.', 'example.', 'secure.example.']: expected = dns.rrset.from_text(zone, 0, dns.rdataclass.IN, 'SOA', self._SOA) query = dns.message.make_query(zone, 'SOA', want_dnssec=True) + query.flags |= dns.flags.AD res = self.sendUDPQuery(query) @@ -20,6 +21,7 @@ class testSimple(RecursorTest): def testA(self): expected = dns.rrset.from_text('ns.secure.example.', 0, dns.rdataclass.IN, 'A', '{prefix}.9'.format(prefix=self._PREFIX)) query = dns.message.make_query('ns.secure.example', 'A', want_dnssec=True) + query.flags |= dns.flags.AD res = self.sendUDPQuery(query) @@ -29,6 +31,7 @@ class testSimple(RecursorTest): def testDelegation(self): query = dns.message.make_query('example', 'NS', want_dnssec=True) + query.flags |= dns.flags.AD expectedNS = dns.rrset.from_text('example.', 0, 'IN', 'NS', 'ns1.example.', 'ns2.example.') -- 2.40.0