From 580c6335bd9f346219d799c4cec74662ff605bac Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 22 Mar 2013 14:57:01 -0400 Subject: [PATCH] Clarify purpose of test in comments. --- lib/main/tests.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/main/tests.py b/lib/main/tests.py index 749be872dd..e342895e5f 100644 --- a/lib/main/tests.py +++ b/lib/main/tests.py @@ -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())