Add extra argument to mock
It looks like we need to add an extra
argument to mock_run to get our
unit tests passing again.
@@ -79,7 +79,7 @@ class ActionTestCase(unittest.TestCase):
self.mock_send_message_call_count += 1
self.mock_send_message_lock.release()
- def mock_run(self, args, logger, result_store, timeout):
+ def mock_run(self, args, logger, result_store, timeout, shell=False):
return self.MOCK_SUBPROCESSES[tuple(args)]()
def setUp(self):
