Skip tests not applicable to windows

This commit is contained in:
Daniel A. Wozniak 2018-04-25 15:26:13 -07:00
parent 057f668788
commit d9442d043e
No known key found for this signature in database
GPG Key ID: 166B9D2C06C82D61

View File

@ -128,6 +128,7 @@ class GroupModuleTest(ModuleCase):
self.assertFalse(self.run_function('group.add', [self._group], gid=self._gid))
@destructiveTest
@skipIf(salt.utils.platform.is_windows(), 'Skip on Windows')
def test_add_system_group(self):
'''
Test the add group function with system=True
@ -146,6 +147,7 @@ class GroupModuleTest(ModuleCase):
[self._group]))
@destructiveTest
@skipIf(salt.utils.platform.is_windows(), 'Skip on Windows')
def test_add_system_group_gid(self):
'''
Test the add group function with system=True and a specific gid