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

Method testUnknownVersion

tests/test_zone.py:1230–1235  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1228 z.reader(1, 1)
1229
1230 def testUnknownVersion(self):
1231 z = dns.zone.from_text(
1232 example_text, "example.", relativize=True, zone_factory=self.zone_factory
1233 )
1234 with self.assertRaises(KeyError):
1235 z.reader(99999)
1236
1237 def testUnknownSerial(self):
1238 z = dns.zone.from_text(

Callers

nothing calls this directly

Calls 2

from_textMethod · 0.45
readerMethod · 0.45

Tested by

no test coverage detected