mirror of
https://github.com/ansible/awx.git
synced 2026-01-09 23:12:08 -03:30
Minor test/view fixes.
This commit is contained in:
parent
7f0935ba66
commit
ea536ae903
@ -148,11 +148,10 @@ class OrganizationsTest(BaseTest):
|
||||
# x.admins.add(self.super_acom_user)
|
||||
x.users.add(self.super_acom_user)
|
||||
|
||||
self.organizations[0].users.add(self.normal_acom_user)
|
||||
self.organizations[0].users.add(self.normal_acom_user)
|
||||
self.organizations[1].admins.add(self.normal_acom_user)
|
||||
|
||||
def test_get_list_unauthorzied(self):
|
||||
def test_get_list(self):
|
||||
|
||||
# no credentials == 401
|
||||
self.get(self.collection(), expect=401)
|
||||
|
||||
@ -162,6 +162,8 @@ class OrganizationsProjectsList(BaseList):
|
||||
# FIXME: verify permissions checks are in place
|
||||
# FIXME: do not create objects
|
||||
|
||||
# POST { pk: 7, disassociate: True }
|
||||
|
||||
project_id = request.DATA.get('pk')
|
||||
return Response('this is incomplete', status=status.HTTP_400_BAD_REQUEST)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user