]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
tests: use edns=1 for queries
authorMarek Vavruša <marek.vavrusa@nic.cz>
Sat, 9 May 2015 20:05:07 +0000 (22:05 +0200)
committerMarek Vavruša <marek.vavrusa@nic.cz>
Sat, 9 May 2015 20:05:07 +0000 (22:05 +0200)
tests/pydnstest/scenario.py

index 6170724e133219dd2143faa46297f545f89cf7eb..cfb04e629085d7f94e35d434a9b60bc9c4163ca0 100644 (file)
@@ -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)