From 9891bcbcae5d557d753975b96ec5cb27ce6389b1 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Tue, 4 Aug 2015 12:40:13 -0400 Subject: [PATCH] Fix unit tests broken by previous commit --- test/units/executor/test_task_executor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/units/executor/test_task_executor.py b/test/units/executor/test_task_executor.py index 54febca4b7..0300b7ad07 100644 --- a/test/units/executor/test_task_executor.py +++ b/test/units/executor/test_task_executor.py @@ -25,7 +25,7 @@ from ansible.compat.tests.mock import patch, MagicMock from ansible.errors import AnsibleError, AnsibleParserError from ansible.executor.task_executor import TaskExecutor from ansible.playbook.play_context import PlayContext -from ansible.plugins import action_loader +from ansible.plugins import action_loader, lookup_loader from units.mock.loader import DictDataLoader @@ -107,6 +107,7 @@ class TestTaskExecutor(unittest.TestCase): mock_play_context = MagicMock() mock_shared_loader = MagicMock() + mock_shared_loader.lookup_loader = lookup_loader new_stdin = None job_vars = dict()