diff options
Diffstat (limited to 'test/units/playbook/test_included_file.py')
-rw-r--r-- | test/units/playbook/test_included_file.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/units/playbook/test_included_file.py b/test/units/playbook/test_included_file.py index c7a66b06..7341dffa 100644 --- a/test/units/playbook/test_included_file.py +++ b/test/units/playbook/test_included_file.py @@ -105,7 +105,7 @@ def test_included_file_instantiation(): assert inc_file._task is None -def test_process_include_tasks_results(mock_iterator, mock_variable_manager): +def test_process_include_results(mock_iterator, mock_variable_manager): hostname = "testhost1" hostname2 = "testhost2" @@ -113,7 +113,7 @@ def test_process_include_tasks_results(mock_iterator, mock_variable_manager): parent_task = Task.load(parent_task_ds) parent_task._play = None - task_ds = {'include_tasks': 'include_test.yml'} + task_ds = {'include': 'include_test.yml'} loaded_task = TaskInclude.load(task_ds, task_include=parent_task) return_data = {'include': 'include_test.yml'} @@ -133,7 +133,7 @@ def test_process_include_tasks_results(mock_iterator, mock_variable_manager): assert res[0]._vars == {} -def test_process_include_tasks_diff_files(mock_iterator, mock_variable_manager): +def test_process_include_diff_files(mock_iterator, mock_variable_manager): hostname = "testhost1" hostname2 = "testhost2" @@ -141,11 +141,11 @@ def test_process_include_tasks_diff_files(mock_iterator, mock_variable_manager): parent_task = Task.load(parent_task_ds) parent_task._play = None - task_ds = {'include_tasks': 'include_test.yml'} + task_ds = {'include': 'include_test.yml'} loaded_task = TaskInclude.load(task_ds, task_include=parent_task) loaded_task._play = None - child_task_ds = {'include_tasks': 'other_include_test.yml'} + child_task_ds = {'include': 'other_include_test.yml'} loaded_child_task = TaskInclude.load(child_task_ds, task_include=loaded_task) loaded_child_task._play = None @@ -175,7 +175,7 @@ def test_process_include_tasks_diff_files(mock_iterator, mock_variable_manager): assert res[1]._vars == {} -def test_process_include_tasks_simulate_free(mock_iterator, mock_variable_manager): +def test_process_include_simulate_free(mock_iterator, mock_variable_manager): hostname = "testhost1" hostname2 = "testhost2" @@ -186,7 +186,7 @@ def test_process_include_tasks_simulate_free(mock_iterator, mock_variable_manage parent_task1._play = None parent_task2._play = None - task_ds = {'include_tasks': 'include_test.yml'} + task_ds = {'include': 'include_test.yml'} loaded_task1 = TaskInclude.load(task_ds, task_include=parent_task1) loaded_task2 = TaskInclude.load(task_ds, task_include=parent_task2) |