mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Skip tests not applicable to windows
This commit is contained in:
parent
057f668788
commit
d9442d043e
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue