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

Function test_basic_ixfr

tests/test_xfr.py:334–341  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

332
333
334def test_basic_ixfr():
335 z = dns.zone.from_text(base, "example.", zone_factory=dns.versioned.Zone)
336 m = dns.message.from_text(ixfr, origin=z.origin, one_rr_per_rrset=True)
337 with dns.xfr.Inbound(z, dns.rdatatype.IXFR, serial=1) as xfr:
338 done = xfr.process_message(m)
339 assert done
340 ez = dns.zone.from_text(ixfr_expected, "example.")
341 assert z == ez
342
343
344def test_basic_ixfr_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…