mirror of
https://github.com/ansible/awx.git
synced 2026-02-15 10:10:01 -03:30
labels + rbac + tests
This commit is contained in:
@@ -151,6 +151,10 @@ def credential():
|
||||
def inventory(organization):
|
||||
return organization.inventories.create(name="test-inv")
|
||||
|
||||
@pytest.fixture
|
||||
def label(organization):
|
||||
return organization.labels.create(name="test-label", description="test-label-desc")
|
||||
|
||||
@pytest.fixture
|
||||
def role():
|
||||
return Role.objects.create(name='role')
|
||||
@@ -219,9 +223,6 @@ def hosts(group):
|
||||
return hosts
|
||||
return rf
|
||||
|
||||
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def permissions():
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user