From 2c0a08a261b674bba1c95a8c2d7c61268d3e90a3 Mon Sep 17 00:00:00 2001 From: pvogt09 <50047961+pvogt09@users.noreply.github.com> Date: Mon, 19 Jul 2021 18:15:39 +0200 Subject: [PATCH] adds trailing slash to domain Signed-off-by: pvogt09 <50047961+pvogt09@users.noreply.github.com> --- test/test_automated_install.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_automated_install.py b/test/test_automated_install.py index 226ab5c7..b2e0f186 100644 --- a/test/test_automated_install.py +++ b/test/test_automated_install.py @@ -625,11 +625,11 @@ def test_installPihole_fresh_install_readableBlockpage(Pihole, test_webpage): digcommand = r"dig A +short {} @127.0.0.1" pagecontent = 'curl --verbose -L "{}"' for page in piholeWebpage: - testpage = "http://" + page + "/admin" + testpage = "http://" + page + "/admin/" resolvesuccess = True if is_ip(page) is False: dig = Pihole.run(digcommand.format(page)) - testpage = "http://" + dig.stdout.strip() + "/admin" + testpage = "http://" + dig.stdout.strip() + "/admin/" resolvesuccess = dig.rc == 0 if resolvesuccess or pihole_is_ns: # check HTTP status of blockpage