mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix failing lgpo netsh tests
This commit is contained in:
parent
b08b7e1fd6
commit
01f9beb5a9
1 changed files with 2 additions and 0 deletions
|
@ -335,6 +335,7 @@ class WinLgpoNetshTestCase(TestCase):
|
|||
@destructiveTest
|
||||
def test_set_firewall_settings_fwrules_local_enable(self):
|
||||
self.assertRaises(
|
||||
CommandExecutionError,
|
||||
win_lgpo_netsh.set_settings,
|
||||
profile='domain',
|
||||
setting='localfirewallrules',
|
||||
|
@ -366,6 +367,7 @@ class WinLgpoNetshTestCase(TestCase):
|
|||
@destructiveTest
|
||||
def test_set_firewall_settings_consecrules_local_enable(self):
|
||||
self.assertRaises(
|
||||
CommandExecutionError,
|
||||
win_lgpo_netsh.set_settings,
|
||||
profile='domain',
|
||||
setting='localconsecrules',
|
||||
|
|
Loading…
Add table
Reference in a new issue