From 65bcb24d0e461ddc87665b1f5f6a4e99f8446a5b Mon Sep 17 00:00:00 2001 From: MichaIng Date: Mon, 24 Feb 2025 17:28:33 +0100 Subject: [PATCH] Fix test Do not check whether the pihole user can read /etc/pihole/logrotate. It needs to be readable by root only, which is always true. Signed-off-by: MichaIng --- test/test_any_automated_install.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/test_any_automated_install.py b/test/test_any_automated_install.py index 73da7eef..c656fe88 100644 --- a/test/test_any_automated_install.py +++ b/test/test_any_automated_install.py @@ -127,10 +127,6 @@ def test_installPihole_fresh_install_readableFiles(host): check_localversion = test_cmd.format("r", "/etc/pihole/versions", piholeuser) actual_rc = host.run(check_localversion).rc assert exit_status_success == actual_rc - # readable logrotate - check_logrotate = test_cmd.format("r", "/etc/pihole/logrotate", piholeuser) - actual_rc = host.run(check_logrotate).rc - assert exit_status_success == actual_rc # readable macvendor.db check_macvendor = test_cmd.format("r", "/etc/pihole/macvendor.db", piholeuser) actual_rc = host.run(check_macvendor).rc