mirror of
https://github.com/ansible/awx.git
synced 2026-01-09 23:12:08 -03:30
Clarify purpose of test in comments.
This commit is contained in:
parent
f0aabcca43
commit
580c6335bd
@ -344,7 +344,9 @@ class OrganizationsTest(BaseTest):
|
||||
def test_put_item_subobjects_projects(self):
|
||||
|
||||
# any attempt to put a subobject should be a 405, edit the actual resource or POST with 'disassociate' to delete
|
||||
|
||||
# this is against a collection URL anyway, so we really need not repeat this test for other object types
|
||||
# as a PUT against a collection doesn't make much sense.
|
||||
|
||||
orgs = self.get(self.collection(), expect=200, auth=self.get_super_credentials())
|
||||
projects0_url = orgs['results'][0]['related']['projects']
|
||||
sub_projects = self.get(projects0_url, expect=200, auth=self.get_super_credentials())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user