tests: fix boring warning about domain_a.dev/domain_b.dev during permissions tests

This commit is contained in:
Alexandre Aubin 2023-12-08 09:00:17 +01:00
parent fb52083b09
commit 3765349436

View file

@ -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}"
)