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

Function equal_rrsets

tests/test_rrset_reader.py:18–25  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

16
17
18def equal_rrsets(a, b):
19 # return True iff. a and b have the same rrsets regardless of order
20 if len(a) != len(b):
21 return False
22 for rrset in a:
23 if not rrset in b:
24 return False
25 return True
26
27
28def test_name_ttl_rdclass_forced():

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…