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:
rallytime 2015-01-27 14:15:04 -07:00
parent cff909436c
commit 03558dc013

View File

@ -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))