Optimized viewable user list, fixed up some project readability bugs

This commit is contained in:
Akita Noek
2016-04-18 11:28:46 -04:00
parent 8b67f1d1c6
commit 878455187f
4 changed files with 23 additions and 15 deletions
+3 -1
View File
@@ -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)