mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add windows to service disable ERROR check in tests
This commit is contained in:
parent
2cb6634c6b
commit
2509d36888
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ class ServiceModuleTest(ModuleCase):
|
|||
systemd = salt.utils.systemd.booted()
|
||||
|
||||
# check service was not enabled
|
||||
if systemd:
|
||||
if systemd or salt.utils.is_windows():
|
||||
self.assertIn('ERROR', enable)
|
||||
else:
|
||||
self.assertFalse(enable)
|
||||
|
|
Loading…
Add table
Reference in a new issue