From 968b981ecbebd86838aedd4090a3a4980970bc7a Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Mon, 23 Jan 2017 18:47:52 -0800 Subject: [PATCH] Try mocking whiptail --- test/test_automated_install.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_automated_install.py b/test/test_automated_install.py index 9c3754f5..141bedd7 100644 --- a/test/test_automated_install.py +++ b/test/test_automated_install.py @@ -67,6 +67,7 @@ def test_setupVars_saved_to_file(Pihole): def test_configureFirewall_firewalld_no_errors(Pihole): ''' confirms firewalld rules are applied when appropriate ''' mock_command('firewall-cmd', 'running', '0', Pihole) + mock_command('whiptail', '', '0', Pihole) configureFirewall = Pihole.run(''' source /opt/pihole/basic-install.sh configureFirewall