mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix unit tests broken by previous commit
This commit is contained in:
parent
5266679964
commit
9891bcbcae
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue