From 9c7f7756b4ebe6465f03c37f3855bb0946e0c3d1 Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Mon, 23 Jan 2017 19:03:00 -0800 Subject: [PATCH] Revert second test. --- test/test_automated_install.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/test/test_automated_install.py b/test/test_automated_install.py index a69f449c..0a011bc1 100644 --- a/test/test_automated_install.py +++ b/test/test_automated_install.py @@ -79,16 +79,6 @@ def test_configureFirewall_firewalld_running_no_errors(Pihole): assert 'firewall-cmd --permanent --add-port=80/tcp --add-port=53/tcp --add-port=53/udp' in firewall_calls assert 'firewall-cmd --reload' in firewall_calls -def test_configureFirewall_firewalld_disabled_no_errors(Pihole): - ''' confirms firewalld rules are applied when appropriate ''' - mock_command('firewall-cmd', 'stopped', '0', Pihole) - configureFirewall = Pihole.run(''' - source /opt/pihole/basic-install.sh - configureFirewall - ''') - expected_stdout = 'No active firewall detected.. skipping firewall configuration.' - assert expected_stdout in configureFirewall.stdout - # Helper functions def mock_command(script, result, retVal, container): ''' Allows for setup of commands we don't really want to have to run for real in unit tests '''