summaryrefslogtreecommitdiffstats
path: root/awx_collection/test
diff options
context:
space:
mode:
authorSarabraj Singh <sarsingh@redhat.com>2022-08-03 20:27:35 +0200
committerAlan Rominger <arominge@redhat.com>2022-09-22 21:18:47 +0200
commit663ef2cc6413c0cdb26392bb046b37fe564fb546 (patch)
treef02e61637bbc0e1a1b2f0ae74fca43a7ce710e50 /awx_collection/test
parentChange ask_job_slicing_on_launch to ask_job_slice_count_on_launch to match api (diff)
downloadawx-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.py13
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