skip getpwnam check on mac in unit test_cmdmod

This commit is contained in:
Ch3LL 2018-08-02 16:39:49 -04:00
parent 1e150923aa
commit b82dd708be
No known key found for this signature in database
GPG key ID: 132B55A7C13EFA73

View file

@ -324,7 +324,8 @@ class CMDMODTestCase(TestCase, LoaderModuleMockMixin):
self.assertEqual(environment, environment2)
getpwnam_mock.assert_called_with('foobar')
if not salt.utils.platform.is_darwin():
getpwnam_mock.assert_called_with('foobar')
def test_run_cwd_doesnt_exist_issue_7154(self):
'''