mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 09:27:36 -02:30
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>
This commit is contained in:
committed by
Alan Rominger
parent
4e665ca77f
commit
663ef2cc64
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user