Skip to content

Commit

Permalink
conform to Answer constructor change
Browse files Browse the repository at this point in the history
  • Loading branch information
rthalley committed May 20, 2020
1 parent 9e104f0 commit d48862f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_resolution.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def test_next_request_no_answer(self):
# immediately, but our negative response code does that.
r = self.make_negative_response(q)
cache_answer = dns.resolver.Answer(self.qname, dns.rdatatype.A,
dns.rdataclass.IN, r, False)
dns.rdataclass.IN, r)
self.resolver.cache.put((self.qname, dns.rdatatype.A,
dns.rdataclass.IN), cache_answer)
def bad():
Expand Down

0 comments on commit d48862f

Please sign in to comment.