Fix tests

This commit is contained in:
James Slagle 2014-02-13 11:20:10 -05:00
parent 4105d984df
commit a160546dd1
1 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ class TestRunner(testtools.TestCase):
'/tmp/non/existant/path')
@mock.patch('instack.runner.call',
return_value=(0, ""))
return_value=0)
def test_run_hook(self, mock_call):
self.runner.copy_elements()
self.runner.load_dependencies()
@ -111,7 +111,7 @@ class TestRunner(testtools.TestCase):
mock_call.call_args_list[0][0][0])
@mock.patch('instack.runner.call',
return_value=(0, ''))
return_value=0)
def test_blacklist(self, mock_call):
self.runner.copy_elements()
self.runner.load_dependencies()