mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Skip mac specific tests
This commit is contained in:
parent
2581098595
commit
61f8a2f7ff
1 changed files with 3 additions and 2 deletions
|
@ -2,19 +2,20 @@
|
|||
|
||||
# Import Python libs
|
||||
from __future__ import absolute_import
|
||||
import sys
|
||||
|
||||
# Import Salt Libs
|
||||
import salt.states.mac_package as macpackage
|
||||
|
||||
# Import Salt Testing Libs
|
||||
from tests.support.mixins import LoaderModuleMockMixin
|
||||
from tests.support.unit import TestCase
|
||||
from tests.support.unit import TestCase, skipIf
|
||||
from tests.support.mock import (
|
||||
MagicMock,
|
||||
patch
|
||||
)
|
||||
|
||||
|
||||
@skipIf(not sys.platform.startswith('darwin'), "Mac specific test")
|
||||
class MacPackageTestCase(TestCase, LoaderModuleMockMixin):
|
||||
def setup_loader_modules(self):
|
||||
return {macpackage: {}}
|
||||
|
|
Loading…
Add table
Reference in a new issue