From a023b86fd71a3a8fd656c63d1ca8af7a905eb1f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florent=20Thi=C3=A9ry?= <florent.thiery@ubicast.eu> Date: Wed, 22 Feb 2017 18:42:57 +0100 Subject: [PATCH] add print if dns is different to the actual ip, refs #20581 --- tests/test_dns_records.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_dns_records.py b/tests/test_dns_records.py index a8cb6a9f..1d593fe3 100755 --- a/tests/test_dns_records.py +++ b/tests/test_dns_records.py @@ -38,6 +38,7 @@ def check_dns(hostname, expected_ip): color = GREEN address = get_result(output) if address != expected_ip: + print('Expected ip was: %s, got %s' % (expected_ip, address)) color = RED all_ok = False else: -- GitLab