mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-17 07:48:39 -05:00
Switched back to multiple-organizations for Projects
This commit is contained in:
@@ -29,7 +29,9 @@ def team(organization):
|
||||
|
||||
@pytest.fixture
|
||||
def project(organization):
|
||||
return Project.objects.create(name="test-project", organization=organization, description="test-project-desc")
|
||||
prj = Project.objects.create(name="test-project", description="test-project-desc")
|
||||
prj.organizations.add(organization)
|
||||
return prj
|
||||
|
||||
@pytest.fixture
|
||||
def user_project(user):
|
||||
|
||||
Reference in New Issue
Block a user