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

Method bad

tests/test_resolution.py:48–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46 self.assertEqual(request.question[0].rdtype, dns.rdatatype.A)
47
48 def bad():
49 (request, answer) = self.resn.next_request()
50
51 self.assertRaises(dns.resolver.NXDOMAIN, bad)
52

Callers

nothing calls this directly

Calls 3

next_requestMethod · 0.80
next_nameserverMethod · 0.80
query_resultMethod · 0.80

Tested by

no test coverage detected