mirror of
https://github.com/ansible/awx.git
synced 2026-05-09 10:27:37 -02:30
Changed how Project local_path is configured, added option to specify playbook on JobTemplate and Job, updated admin and tests.
This commit is contained in:
@@ -71,13 +71,9 @@ class JobsTest(BaseTest):
|
||||
self.team.users.add(self.other_django_user)
|
||||
self.team.users.add(self.other2_django_user)
|
||||
|
||||
self.project = Project.objects.create(
|
||||
name = 'testProject',
|
||||
created_by = self.normal_django_user,
|
||||
local_repository = '/tmp/',
|
||||
scm_type = 'git',
|
||||
default_playbook = 'site.yml',
|
||||
)
|
||||
self.project = self.make_projects(self.normal_django_user, 1,
|
||||
playbook_content='')[0]
|
||||
self.organization.projects.add(self.project)
|
||||
|
||||
# other django user is on the project team and can deploy
|
||||
self.permission1 = Permission.objects.create(
|
||||
|
||||
Reference in New Issue
Block a user