Fix failing lgpo netsh tests

This commit is contained in:
twangboy 2018-12-19 22:35:17 -07:00
parent b08b7e1fd6
commit 01f9beb5a9
No known key found for this signature in database
GPG key ID: 93FF3BDEB278C9EB

View file

@ -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',