mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Remove bad test
This commit is contained in:
parent
615d3ec219
commit
353ec1ba7a
@ -28,14 +28,6 @@ class WinServiceTestCase(TestCase):
|
||||
'''
|
||||
Test cases for salt.modules.win_service
|
||||
'''
|
||||
def test_has_powershell(self):
|
||||
'''
|
||||
Test to confirm if Powershell is available
|
||||
'''
|
||||
mock = MagicMock(return_value={'powershell': 'salt'})
|
||||
with patch.dict(win_service.__salt__, {'cmd.run': mock}):
|
||||
self.assertTrue(win_service.has_powershell())
|
||||
|
||||
def test_get_enabled(self):
|
||||
'''
|
||||
Test to return the enabled services
|
||||
|
Loading…
Reference in New Issue
Block a user