Add windows to service disable ERROR check in tests

This commit is contained in:
Ch3LL 2018-05-24 08:30:17 -04:00
parent 2cb6634c6b
commit 2509d36888
No known key found for this signature in database
GPG key ID: 132B55A7C13EFA73

View file

@ -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)