MCPcopy Create free account
hub / github.com/rthalley/dnspython / test_next_request_abs

Method test_next_request_abs

tests/test_resolution.py:27–31  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

25 )
26
27 def test_next_request_abs(self):
28 (request, answer) = self.resn.next_request()
29 self.assertTrue(answer is None)
30 self.assertEqual(request.question[0].name, self.qname)
31 self.assertEqual(request.question[0].rdtype, dns.rdatatype.A)
32
33 def test_next_request_rel_with_search(self):
34 qname = dns.name.from_text("www.dnspython.org", None)

Callers

nothing calls this directly

Calls 1

next_requestMethod · 0.80

Tested by

no test coverage detected