mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 23:08:07 +00:00
No need for test_installPiholeWeb_fresh_install_no_errors
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
parent
b8acccde90
commit
8f7c828407
@ -118,21 +118,6 @@ def test_selinux_not_detected(host):
|
|||||||
assert check_selinux.rc == 0
|
assert check_selinux.rc == 0
|
||||||
|
|
||||||
|
|
||||||
def test_installPiholeWeb_fresh_install_no_errors(host):
|
|
||||||
"""
|
|
||||||
confirms all web page assets from Core repo are installed on a fresh build
|
|
||||||
"""
|
|
||||||
installWeb = host.run(
|
|
||||||
"""
|
|
||||||
umask 0027
|
|
||||||
source /opt/pihole/basic-install.sh
|
|
||||||
installPiholeWeb
|
|
||||||
"""
|
|
||||||
)
|
|
||||||
expected_stdout = tick_box + " Installing sudoer file"
|
|
||||||
assert expected_stdout in installWeb.stdout
|
|
||||||
|
|
||||||
|
|
||||||
def get_directories_recursive(host, directory):
|
def get_directories_recursive(host, directory):
|
||||||
if directory is None:
|
if directory is None:
|
||||||
return directory
|
return directory
|
||||||
|
Loading…
Reference in New Issue
Block a user