mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Patched the windows status test
This commit is contained in:
parent
2b5c7fb2e1
commit
a7974fe508
@ -184,6 +184,7 @@ class WinServiceTestCase(TestCase, LoaderModuleMockMixin):
|
||||
with patch.dict(win_service.__salt__, {'task.run': mock_true}):
|
||||
self.assertTrue(win_service.execute_salt_restart_task())
|
||||
|
||||
@skipIf(not WINAPI, 'win32serviceutil not available')
|
||||
def test_status(self):
|
||||
'''
|
||||
Test to return the status for a service
|
||||
|
Loading…
Reference in New Issue
Block a user