mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #54353 from cmcmarrow/2019_win_system_skip
adds @skipIf not windows
This commit is contained in:
commit
ce5b109646
1 changed files with 2 additions and 0 deletions
|
@ -20,9 +20,11 @@ from tests.support.mock import (
|
|||
|
||||
# Import Salt Libs
|
||||
import salt.modules.win_system as win_system
|
||||
import salt.utils.platform
|
||||
|
||||
|
||||
@skipIf(NO_MOCK, NO_MOCK_REASON)
|
||||
@skipIf(not salt.utils.platform.is_windows(), 'System is not Windows')
|
||||
class WinSystemTestCase(TestCase, LoaderModuleMockMixin):
|
||||
'''
|
||||
Test cases for salt.modules.win_system
|
||||
|
|
Loading…
Add table
Reference in a new issue