Skip test_virt and pip_state requirements tests on macosx

This commit is contained in:
Ch3LL 2018-09-05 17:49:07 -04:00
parent 87d3dfe085
commit 50237e9daf
No known key found for this signature in database
GPG Key ID: 132B55A7C13EFA73
2 changed files with 2 additions and 0 deletions

View File

@ -338,6 +338,7 @@ class PipStateTest(ModuleCase, SaltReturnAssertsMixin):
@destructiveTest
@skip_if_not_root
@skipIf(salt.utils.platform.is_darwin(), 'Test is flaky on macosx')
@skipIf(not CAN_RUNAS, 'Runas support required')
@with_system_user('issue-6912', on_existing='delete', delete=True,
password='PassWord1!')

View File

@ -28,6 +28,7 @@ from salt.modules.virtualenv_mod import KNOWN_BINARY_NAMES
@skipIf(salt.utils.path.which_bin(KNOWN_BINARY_NAMES) is None, 'virtualenv not installed')
class VirtualenvTest(ModuleCase, SaltReturnAssertsMixin):
@skipIf(salt.utils.platform.is_darwin(), 'Test is flaky on macosx')
@destructiveTest
@skip_if_not_root
def test_issue_1959_virtualenv_runas(self):