mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Fix some of the mocking on cmdmod_test
This could still use some more love, but it should help for now.
This commit is contained in:
parent
cff909436c
commit
03558dc013
@ -215,7 +215,7 @@ class CMDMODTestCase(TestCase):
|
||||
'''
|
||||
Tests end result when a command is not found
|
||||
'''
|
||||
ret = cmdmod._run('foo').get('stderr')
|
||||
ret = cmdmod._run('foo', use_vt=True).get('stderr')
|
||||
self.assertIn('foo', ret)
|
||||
|
||||
@patch('salt.utils.is_windows', MagicMock(return_value=True))
|
||||
|
Loading…
Reference in New Issue
Block a user