diff --git a/test/units/executor/test_task_executor.py b/test/units/executor/test_task_executor.py index 0300b7ad07..5b5fa79c3f 100644 --- a/test/units/executor/test_task_executor.py +++ b/test/units/executor/test_task_executor.py @@ -282,7 +282,9 @@ class TestTaskExecutor(unittest.TestCase): mock_action = MagicMock() - shared_loader = None + shared_loader = MagicMock() + shared_loader.action_loader = action_loader + new_stdin = None job_vars = dict(omit="XXXXXXXXXXXXXXXXXXX")