mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
skip getpwnam check on mac in unit test_cmdmod
This commit is contained in:
parent
1e150923aa
commit
b82dd708be
1 changed files with 2 additions and 1 deletions
|
@ -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):
|
||||
'''
|
||||
|
|
Loading…
Add table
Reference in a new issue