From 376534943610bc352d6db7dd5dbacf879f7443fd Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 8 Dec 2023 09:00:17 +0100 Subject: [PATCH] tests: fix boring warning about domain_a.dev/domain_b.dev during permissions tests --- src/dns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dns.py b/src/dns.py index 7c5fd2220..569788a6d 100644 --- a/src/dns.py +++ b/src/dns.py @@ -482,7 +482,7 @@ def _get_dns_zone_for_domain(domain): zone = parent_list[-1] # Adding this otherwise the CI is flooding about those ... - if domain not in ["example.tld", "sub.example.tld", "domain.tld"]: + if domain not in ["example.tld", "sub.example.tld", "domain.tld", "domain_a.dev", "domain_b.dev"]: logger.warning( f"Could not identify correctly the dns zone for domain {domain}, returning {zone}" )