mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 14:58:08 +00:00
Rename test for firewallD, running state.
This commit is contained in:
parent
1317b67657
commit
28bafe7427
@ -64,7 +64,7 @@ def test_setupVars_saved_to_file(Pihole):
|
|||||||
for k,v in SETUPVARS.iteritems():
|
for k,v in SETUPVARS.iteritems():
|
||||||
assert "{}={}".format(k, v) in output
|
assert "{}={}".format(k, v) in output
|
||||||
|
|
||||||
def test_configureFirewall_firewalld_no_errors(Pihole):
|
def test_configureFirewall_firewalld_running_no_errors(Pihole):
|
||||||
''' confirms firewalld rules are applied when appropriate '''
|
''' confirms firewalld rules are applied when appropriate '''
|
||||||
mock_command('firewall-cmd', 'running', '0', Pihole)
|
mock_command('firewall-cmd', 'running', '0', Pihole)
|
||||||
configureFirewall = Pihole.run('''
|
configureFirewall = Pihole.run('''
|
||||||
|
Loading…
Reference in New Issue
Block a user