Skip to content

Commit

Permalink
Remove redundent test
Browse files Browse the repository at this point in the history
  • Loading branch information
twangboy committed Apr 20, 2020
1 parent 68d7d33 commit 044bf06
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/unit/modules/test_win_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,15 +258,6 @@ def test_get_pending_servermanager_key_present_int_1(self):
with patch.dict(win_system.__utils__, {"reg.read_value": reg_mock}):
self.assertTrue(win_system.get_pending_servermanager())

@skipIf(not win_system.HAS_WIN32NET_MODS, "Missing win32 libraries")
def test_get_pending_servermanager_key_not_present(self):
"""
Test to get pending servermanager, key no present. Should return False
"""
reg_mock = MagicMock(return_value={"success": False})
with patch.dict(win_system.__utils__, {"reg.read_value": reg_mock}):
self.assertFalse(win_system.get_pending_servermanager())

@skipIf(not win_system.HAS_WIN32NET_MODS, "Missing win32 libraries")
def test_set_reboot_required_witnessed(self):
"""
Expand Down

0 comments on commit 044bf06

Please sign in to comment.