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

Method testGetRdataset2

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

Source from the content-addressed store, hash-verified

564 self.assertEqual(rds, exrds)
565
566 def testGetRdataset2(self):
567 z = dns.zone.from_text(example_text, "example.", relativize=True)
568 rds = z.get_rdataset("@", "loc")
569 self.assertTrue(rds is None)
570
571 def testGetRdatasetWithRelativeNameFromAbsoluteZone(self):
572 z = dns.zone.from_text(example_text, "example.", relativize=False)

Callers

nothing calls this directly

Calls 2

from_textMethod · 0.45
get_rdatasetMethod · 0.45

Tested by

no test coverage detected