mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #50929 from twangboy/fix_test_lgpo_netsh_2018.3
Fix `unit.utils.test_lgpo_netsh` on Windows for Py3 (2018.3)
This commit is contained in:
commit
421e4f459f
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