From 5fc89c11d9c20dc1725ccd245b6baf741ad2943d Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Tue, 4 May 2021 17:56:12 +0100 Subject: [PATCH] remove no longer needed test Signed-off-by: Adam Warner --- test/test_automated_install.py | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/test/test_automated_install.py b/test/test_automated_install.py index 44624082..8b2bf4fd 100644 --- a/test/test_automated_install.py +++ b/test/test_automated_install.py @@ -106,31 +106,6 @@ def test_selinux_not_detected(Pihole): assert check_selinux.rc == 0 -def test_installPiholeWeb_fresh_install_no_errors(Pihole): - ''' - confirms all web page assets from Core repo are installed on a fresh build - ''' - installWeb = Pihole.run(''' - source /opt/pihole/basic-install.sh - installPiholeWeb - ''') - expected_stdout = info_box + ' Installing blocking page...' - assert expected_stdout in installWeb.stdout - expected_stdout = tick_box + (' Creating directory for blocking page, ' - 'and copying files') - assert expected_stdout in installWeb.stdout - expected_stdout = info_box + ' Backing up index.lighttpd.html' - assert expected_stdout in installWeb.stdout - expected_stdout = ('No default index.lighttpd.html file found... ' - 'not backing up') - assert expected_stdout in installWeb.stdout - expected_stdout = tick_box + ' Installing sudoer file' - assert expected_stdout in installWeb.stdout - web_directory = Pihole.run('ls -r /var/www/html/pihole').stdout - assert 'index.php' in web_directory - assert 'blockingpage.css' in web_directory - - def test_update_package_cache_success_no_errors(Pihole): ''' confirms package cache was updated without any errors