From 02ea9b9abc917d1eba7faef0e762c56377b61f13 Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Mon, 20 Feb 2017 18:15:40 -0800 Subject: [PATCH] Check file path and permissions in one go. Signed-off-by: Dan Schaper --- test/test_automated_install.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_automated_install.py b/test/test_automated_install.py index 1fb1a20a..b42262de 100644 --- a/test/test_automated_install.py +++ b/test/test_automated_install.py @@ -398,9 +398,9 @@ def test_FTL_support_files_installed(Pihole): stat -c '%a %n' /run/pihole-FTL.pid ls -lac /run ''') - assert '644 pihole-FTL.port' in support_files.stdout - assert '644 pihole-FTL.pid' in support_files.stdout - assert '644 pihole-FTL.log' in support_files.stdout + assert '644 /run/pihole-FTL.port' in support_files.stdout + assert '644 /run/pihole-FTL.pid' in support_files.stdout + assert '644 /var/log/pihole-FTL.log' in support_files.stdout # Helper functions def mock_command(script, args, container):