Only expect text output, not the leader :::

This commit is contained in:
Dan Schaper 2017-01-23 18:52:05 -08:00
parent 968b981ecb
commit 95796e1978
No known key found for this signature in database
GPG key ID: 572E999E385B7BFC

View file

@ -72,7 +72,7 @@ def test_configureFirewall_firewalld_no_errors(Pihole):
source /opt/pihole/basic-install.sh
configureFirewall
''')
expected_stdout = '::: Configuring FirewallD for httpd and dnsmasq.'
expected_stdout = 'Configuring FirewallD for httpd and dnsmasq.'
assert expected_stdout in configureFirewall.stdout
firewall_calls = Pihole.run('cat /var/log/firewall-cmd').stdout
assert 'firewall-cmd --state' in firewall_calls