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

Method equal_loc

tests/test_rdata.py:319–322  ·  view source on GitHub ↗
(self, a, b)

Source from the content-addressed store, hash-verified

317 self.assertEqual(rd.exchange, rd.hostname)
318
319 def equal_loc(self, a, b):
320 rda = dns.rdata.from_text(dns.rdataclass.IN, dns.rdatatype.LOC, a)
321 rdb = dns.rdata.from_text(dns.rdataclass.IN, dns.rdatatype.LOC, b)
322 self.assertEqual(rda, rdb)
323
324 def test_misc_good_LOC_text(self):
325 # test just degrees

Callers 1

Calls 1

from_textMethod · 0.45

Tested by

no test coverage detected