Fix tests for shell argument

This commit is contained in:
Clint Byrum 2013-06-28 09:07:20 -07:00
parent 6e28cddc30
commit 75d178083d

View File

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