mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Moving the skipIf for OS X from the beacon state tests to the renderer state tests.
This commit is contained in:
parent
d2fef9ac3f
commit
b10e1e7c58
2 changed files with 6 additions and 2 deletions
|
@ -14,7 +14,6 @@ import logging
|
|||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@skipIf(salt.utils.platform.is_darwin(), 'minion is OS X, skipping for now')
|
||||
class BeaconStateTestCase(ModuleCase, SaltReturnAssertsMixin):
|
||||
'''
|
||||
Test beacon states
|
||||
|
|
|
@ -8,7 +8,11 @@ from __future__ import absolute_import, unicode_literals, print_function
|
|||
|
||||
# Import Salt Testing libs
|
||||
from tests.support.case import ModuleCase
|
||||
from tests.support.helpers import flaky
|
||||
from tests.support.helpers import flaky, skipIf
|
||||
from tests.support.unit import skipIf
|
||||
|
||||
# Import Salt libs
|
||||
import salt.utils.platform
|
||||
|
||||
|
||||
class TestJinjaRenderer(ModuleCase):
|
||||
|
@ -24,6 +28,7 @@ class TestJinjaRenderer(ModuleCase):
|
|||
self.assertTrue(state_ret['result'])
|
||||
|
||||
@flaky
|
||||
@skipIf(salt.utils.platform.is_darwin(), 'minion is OS X, skipping for now')
|
||||
def test_salt_contains_function(self):
|
||||
'''
|
||||
Test if we are able to check if a function exists inside the "salt"
|
||||
|
|
Loading…
Add table
Reference in a new issue