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

Function test_basic_axfr

tests/test_xfr.py:291–298  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

289
290
291def test_basic_axfr():
292 z = dns.versioned.Zone("example.")
293 m = dns.message.from_text(axfr, origin=z.origin, one_rr_per_rrset=True)
294 with dns.xfr.Inbound(z, dns.rdatatype.AXFR) as xfr:
295 done = xfr.process_message(m)
296 assert done
297 ez = dns.zone.from_text(base, "example.")
298 assert z == ez
299
300
301def test_basic_axfr_unversioned():

Callers

nothing calls this directly

Calls 2

process_messageMethod · 0.80
from_textMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…