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

Method testNoRelativizeReader

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

Source from the content-addressed store, hash-verified

1242 z.reader(serial=99999)
1243
1244 def testNoRelativizeReader(self):
1245 z = dns.zone.from_text(
1246 example_text, "example.", relativize=False, zone_factory=self.zone_factory
1247 )
1248 with z.reader(serial=1) as txn:
1249 rds = txn.get("example.", "soa")
1250 self.assertEqual(rds[0].serial, 1)
1251
1252 def testNoRelativizeReaderOriginInText(self):
1253 z = dns.zone.from_text(

Callers

nothing calls this directly

Calls 3

from_textMethod · 0.45
readerMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected