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

Method testIntersectionUpdate

tests/test_rdataset.py:68–73  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

66 self.assertEqual(rds1, rdse)
67
68 def testIntersectionUpdate(self):
69 rds1 = dns.rdataset.from_text("in", "a", 300, "10.0.0.1", "10.0.0.2")
70 rds2 = dns.rdataset.from_text("in", "a", 30, "10.0.0.2")
71 rdse = dns.rdataset.from_text("in", "a", 30, "10.0.0.2")
72 rds1.intersection_update(rds2)
73 self.assertEqual(rds1, rdse)
74
75 def testNoEqualToOther(self):
76 rds = dns.rdataset.from_text("in", "a", 300, "10.0.0.1")

Callers

nothing calls this directly

Calls 2

from_textMethod · 0.45
intersection_updateMethod · 0.45

Tested by

no test coverage detected