Fix another direct assignment of a sequence to a related manager

This commit is contained in:
Jeff Bradberry 2019-06-26 14:41:09 -04:00
parent 5e9f790554
commit d464df557b

View File

@ -42,7 +42,7 @@ def test_job_notification_data(inventory, machine_credential, project):
survey_passwords={"SSN": encrypted_str},
project=project,
)
job.credentials = [machine_credential]
job.credentials.set([machine_credential])
notification_data = job.notification_data(block=0)
assert json.loads(notification_data['extra_vars'])['SSN'] == encrypted_str