mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 08:35:21 +00:00
skip tests on appropriate platforms
This commit is contained in:
parent
f5ebe3ed8b
commit
61c77a3802
@ -2008,6 +2008,7 @@ class StateModuleTest(ModuleCase, SaltReturnAssertsMixin):
|
||||
'File {0} updated'.format(file_name))
|
||||
self.assertEqual(val['changes']['diff'], 'New file')
|
||||
|
||||
@skipIf(six.PY3 and salt.utils.platform.is_darwin(), 'Test is broken on macosx and PY3')
|
||||
def test_issue_30161_unless_and_onlyif_together(self):
|
||||
'''
|
||||
test cmd.run using multiple unless options where the first cmd in the
|
||||
|
@ -32,6 +32,7 @@ from salt.ext import six
|
||||
|
||||
|
||||
@skipIf(NO_MOCK, NO_MOCK_REASON)
|
||||
@skipIf(not salt.utils.platform.is_darwin(), 'These tests run only on mac')
|
||||
class MacUtilsTestCase(TestCase, LoaderModuleMockMixin):
|
||||
'''
|
||||
test mac_utils salt utility
|
||||
|
Loading…
Reference in New Issue
Block a user