Merge pull request #47319 from dwoz/skip_tests

Skip unix group tests on windows.
This commit is contained in:
Nicole Thomas 2018-04-26 11:59:34 -04:00 committed by GitHub
commit 27a438f0ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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