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

Class IXFRNanoNameserver

tests/test_query.py:429–440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427
428
429class IXFRNanoNameserver(Server):
430 def __init__(self, response_text):
431 super().__init__()
432 self.response_text = response_text
433
434 def handle(self, request):
435 try:
436 r = dns.message.from_text(self.response_text, one_rr_per_rrset=True)
437 r.id = request.message.id
438 return r
439 except Exception:
440 pass
441
442
443@unittest.skipIf(not _nanonameserver_available, "nanonameserver required")

Callers 4

badMethod · 0.85
test_ixfr_tcpMethod · 0.85
test_ixfr_udpMethod · 0.85
test_ixfr_up_to_dateMethod · 0.85

Calls

no outgoing calls

Tested by 4

badMethod · 0.68
test_ixfr_tcpMethod · 0.68
test_ixfr_udpMethod · 0.68
test_ixfr_up_to_dateMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…