mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Remove invalid test case for DNS SRV priority
Upstream dnspython 2.1.0 introduced additional error checking on SRV values and now rejects invalid priorities. Remove the sorting test for priority of -1. https://pagure.io/freeipa/issue/8650 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
committed by
Florence Blanc-Renaud
parent
add58fb181
commit
e619c9f448
@@ -55,9 +55,6 @@ class TestSortSRV:
|
||||
h380 = mksrv(4, 0, 80, u"host3")
|
||||
assert dnsutil.sort_prio_weight([h1, h3, h380]) == [h1, h3, h380]
|
||||
|
||||
hs = mksrv(-1, 0, 443, u"special")
|
||||
assert dnsutil.sort_prio_weight([h1, h2, hs]) == [hs, h1, h2]
|
||||
|
||||
def assert_permutations(self, answers, permutations):
|
||||
seen = set()
|
||||
for _unused in range(1000):
|
||||
|
||||
Reference in New Issue
Block a user