Skip to content
Snippets Groups Projects
Commit 41f39680 authored by Nicolas KAROLAK's avatar Nicolas KAROLAK
Browse files

test_dns_records.py: do not ignore systemd-resolved

parent 4ba082cc
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ def check_dns(hostname, expected_ip): ...@@ -46,7 +46,7 @@ def check_dns(hostname, expected_ip):
color = GREEN color = GREEN
address = get_result(output) address = get_result(output)
if address == "127.0.0.1" and resolver == "127.0.0.53": if address == "127.0.0.1" and resolver == "127.0.0.53":
continue pass
elif address != expected_ip: elif address != expected_ip:
print('Expected ip was: "%s", got "%s".' % (expected_ip, address)) print('Expected ip was: "%s", got "%s".' % (expected_ip, address))
color = RED color = RED
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment