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

Function make_example

tests/test_btreezone.py:31–35  ·  view source on GitHub ↗
(text: str, relativize: bool = False)

Source from the content-addressed store, hash-verified

29
30
31def make_example(text: str, relativize: bool = False) -> dns.btreezone.Zone:
32 z = dns.zone.from_text(
33 simple_zone, "example.", relativize=relativize, zone_factory=dns.btreezone.Zone
34 )
35 return cast(dns.btreezone.Zone, z)
36
37
38def do_test_node_flags(relativize: bool):

Callers 4

do_test_node_flagsFunction · 0.85
do_test_delegationsFunction · 0.85
do_test_boundsFunction · 0.85

Calls 1

from_textMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…