mirror of
https://github.com/ansible/awx.git
synced 2026-04-13 22:19:27 -02:30
Fix another direct assignment of a sequence to a related manager
This commit is contained in:
@@ -42,7 +42,7 @@ def test_job_notification_data(inventory, machine_credential, project):
|
|||||||
survey_passwords={"SSN": encrypted_str},
|
survey_passwords={"SSN": encrypted_str},
|
||||||
project=project,
|
project=project,
|
||||||
)
|
)
|
||||||
job.credentials = [machine_credential]
|
job.credentials.set([machine_credential])
|
||||||
notification_data = job.notification_data(block=0)
|
notification_data = job.notification_data(block=0)
|
||||||
assert json.loads(notification_data['extra_vars'])['SSN'] == encrypted_str
|
assert json.loads(notification_data['extra_vars'])['SSN'] == encrypted_str
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user