(self)
| 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"]) |