diff options
author | Sarabraj Singh <sarsingh@redhat.com> | 2022-08-03 20:27:35 +0200 |
---|---|---|
committer | Alan Rominger <arominge@redhat.com> | 2022-09-22 21:18:47 +0200 |
commit | 663ef2cc6413c0cdb26392bb046b37fe564fb546 (patch) | |
tree | f02e61637bbc0e1a1b2f0ae74fca43a7ce710e50 /awx_collection/test | |
parent | Change ask_job_slicing_on_launch to ask_job_slice_count_on_launch to match api (diff) | |
download | awx-663ef2cc6413c0cdb26392bb046b37fe564fb546.tar.xz awx-663ef2cc6413c0cdb26392bb046b37fe564fb546.zip |
adding prompt-to-launch field on Labels field in Workflow Templates; with necessary UI and testing changes
Co-authored-by: Keith Grant <keithjgrant@gmail.com>
Diffstat (limited to 'awx_collection/test')
-rw-r--r-- | awx_collection/test/awx/test_workflow_job_template.py | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/awx_collection/test/awx/test_workflow_job_template.py b/awx_collection/test/awx/test_workflow_job_template.py index c5448b23aa..60a4fff7cf 100644 --- a/awx_collection/test/awx/test_workflow_job_template.py +++ b/awx_collection/test/awx/test_workflow_job_template.py @@ -18,6 +18,8 @@ def test_create_workflow_job_template(run_module, admin_user, organization, surv 'survey_spec': survey_spec, 'survey_enabled': True, 'state': 'present', + 'job_tags': '', + 'skip_tags': '', }, admin_user, ) @@ -35,7 +37,16 @@ def test_create_workflow_job_template(run_module, admin_user, organization, surv @pytest.mark.django_db def test_create_modify_no_survey(run_module, admin_user, organization, survey_spec): - result = run_module('workflow_job_template', {'name': 'foo-workflow', 'organization': organization.name}, admin_user) + result = run_module( + 'workflow_job_template', + { + 'name': 'foo-workflow', + 'organization': organization.name, + 'job_tags': '', + 'skip_tags': '', + }, + admin_user, + ) assert not result.get('failed', False), result.get('msg', result) assert result.get('changed', False), result |