mirror of
https://github.com/ansible/awx.git
synced 2026-11-22 16:26:10 -03:30
Optimized viewable user list, fixed up some project readability bugs
This commit is contained in:
@@ -11,9 +11,11 @@ from awx.main.models import Project
|
||||
#
|
||||
|
||||
@pytest.mark.django_db(transaction=True)
|
||||
def test_user_project_list(get, project_factory, admin, alice, bob):
|
||||
def test_user_project_list(get, project_factory, organization, admin, alice, bob):
|
||||
'List of projects a user has access to, filtered by projects you can also see'
|
||||
|
||||
organization.member_role.members.add(alice, bob)
|
||||
|
||||
alice_project = project_factory('alice project')
|
||||
alice_project.admin_role.members.add(alice)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user