From: Marek VavruĊĦa Date: Sat, 9 May 2015 20:05:07 +0000 (+0200) Subject: tests: use edns=1 for queries X-Git-Tag: v1.0.0-beta1~189 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a05cf85fb0022dab928b9b7062f4901be5e8c6ba;p=thirdparty%2Fknot-resolver.git tests: use edns=1 for queries --- diff --git a/tests/pydnstest/scenario.py b/tests/pydnstest/scenario.py index 6170724e1..cfb04e629 100644 --- a/tests/pydnstest/scenario.py +++ b/tests/pydnstest/scenario.py @@ -244,6 +244,7 @@ class Step: if len(self.data) == 0: raise Exception("query definition required") msg = self.data[0].message + msg.use_edns(edns = 1) self.answer = ctx.resolve(msg.to_wire()) if self.answer is not None: self.answer = dns.message.from_wire(self.answer)