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

Method bad

tests/test_zone.py:541–543  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

539
540 def testFindRdataset2(self):
541 def bad():
542 z = dns.zone.from_text(example_text, "example.", relativize=True)
543 z.find_rdataset("@", "loc")
544
545 self.assertRaises(KeyError, bad)
546

Callers

nothing calls this directly

Calls 4

from_textMethod · 0.45
find_rdatasetMethod · 0.45
find_rrsetMethod · 0.45
replace_rdatasetMethod · 0.45

Tested by

no test coverage detected