mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 07:17:40 -02:30
Do not set the default if the field was not passed in to kwargs_extra_vars
This commit is contained in:
@@ -211,7 +211,7 @@ def test_launch_with_non_empty_survey_spec_no_license(job_template_factory, post
|
||||
@pytest.mark.django_db
|
||||
@pytest.mark.survey
|
||||
def test_redact_survey_passwords_in_activity_stream(job_template_with_survey_passwords):
|
||||
job_template_with_survey_passwords.create_unified_job()
|
||||
job_template_with_survey_passwords.create_unified_job(extra_vars={'secret_key':''})
|
||||
AS_record = ActivityStream.objects.filter(object1='job').all()[0]
|
||||
changes_dict = json.loads(AS_record.changes)
|
||||
extra_vars = json.loads(changes_dict['extra_vars'])
|
||||
|
||||
Reference in New Issue
Block a user