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

Method test_next_request_flags

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

Source from the content-addressed store, hash-verified

259 self.assertEqual(request.keyring.secret, secret)
260
261 def test_next_request_flags(self):
262 self.resolver.flags = dns.flags.RD | dns.flags.CD
263 (request, answer) = self.resn.next_request()
264 self.assertFalse(request is None)
265 self.assertEqual(request.flags, self.resolver.flags)
266
267 def test_next_nameserver_udp(self):
268 (request, answer) = self.resn.next_request()

Callers

nothing calls this directly

Calls 1

next_requestMethod · 0.80

Tested by

no test coverage detected