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

Method testMatchCompatibilityWithFullMatch

tests/test_rrset.py:154–158  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

152 )
153
154 def testMatchCompatibilityWithFullMatch(self):
155 r1 = dns.rrset.from_text_list("foo", 30, "in", "a", ["10.0.0.1", "10.0.0.2"])
156 self.assertTrue(
157 r1.match(r1.name, dns.rdataclass.IN, dns.rdatatype.A, dns.rdatatype.NONE)
158 )
159
160 def testMatchCompatibilityWithRdatasetMatch(self):
161 r1 = dns.rrset.from_text_list("foo", 30, "in", "a", ["10.0.0.1", "10.0.0.2"])

Callers

nothing calls this directly

Calls 1

matchMethod · 0.45

Tested by

no test coverage detected