Reorder DNS tests to avoid random order in rendering

This commit is contained in:
Alexandre Aubin 2020-03-21 22:25:44 +01:00
parent e633c8351b
commit 69bc12454e

View file

@ -42,8 +42,10 @@ class DNSRecordsDiagnoser(Diagnoser):
# Here if there are no AAAA record, we should add something to expect "no" AAAA record # Here if there are no AAAA record, we should add something to expect "no" AAAA record
# to properly diagnose situations where people have a AAAA record but no IPv6 # to properly diagnose situations where people have a AAAA record but no IPv6
for category, records in expected_configuration.items(): categories = ["basic", "mail", "xmpp", "extra"]
for category in categories:
records = expected_configuration[category]
discrepancies = [] discrepancies = []
for r in records: for r in records: