mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 23:17:32 -02:30
Fixed up tasks.py for credential changes
This commit is contained in:
@@ -279,7 +279,10 @@ class RunJobTest(BaseJobExecutionTest):
|
||||
'password': '',
|
||||
}
|
||||
opts.update(kwargs)
|
||||
user = opts['user']
|
||||
del opts['user']
|
||||
self.cloud_credential = Credential.objects.create(**opts)
|
||||
self.cloud_credential.owner_role.members.add(user)
|
||||
return self.cloud_credential
|
||||
|
||||
def create_test_project(self, playbook_content, role_playbooks=None):
|
||||
|
||||
Reference in New Issue
Block a user