mirror of
https://github.com/ansible/awx.git
synced 2026-03-02 01:08:48 -03:30
Merge branch 'devel' of github.com:ansible/ansible-tower into rbac
This commit is contained in:
@@ -400,3 +400,14 @@ def fact_services_json():
|
||||
def permission_inv_read(organization, inventory, team):
|
||||
return Permission.objects.create(inventory=inventory, team=team, permission_type=PERM_INVENTORY_READ)
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def job_template_labels(organization):
|
||||
jt = JobTemplate(name='test-job_template')
|
||||
jt.save()
|
||||
|
||||
jt.labels.create(name="label-1", organization=organization)
|
||||
jt.labels.create(name="label-2", organization=organization)
|
||||
|
||||
return jt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user