Fix tests for shell argument
This commit is contained in:
parent
6e28cddc30
commit
75d178083d
@ -50,7 +50,7 @@ class TestCollect(testtools.TestCase):
|
|||||||
fixtures.MonkeyPatch('sys.argv', fake_args))
|
fixtures.MonkeyPatch('sys.argv', fake_args))
|
||||||
self.called_fake_call = False
|
self.called_fake_call = False
|
||||||
|
|
||||||
def fake_call(args, env):
|
def fake_call(args, env, shell):
|
||||||
self.called_fake_call = True
|
self.called_fake_call = True
|
||||||
self.assertEquals(expected_cmd, args)
|
self.assertEquals(expected_cmd, args)
|
||||||
self.assertIn('OS_CONFIG_FILES', env)
|
self.assertIn('OS_CONFIG_FILES', env)
|
||||||
|
Loading…
Reference in New Issue
Block a user