Allow post to /api/v1/projects/N/organizations/, add resource for /api/v1/projects/N/teams/.

This commit is contained in:
Chris Church
2013-07-19 11:43:05 -04:00
parent 549ba9a150
commit 9af163691a
4 changed files with 20 additions and 2 deletions

View File

@@ -255,7 +255,7 @@ class ProjectsTest(BaseTest):
self.assertEquals(got['count'], 1)
self.assertEquals(got['results'][0]['url'], reverse('main:organization_detail', args=(self.organizations[0].pk,)))
# you can't add organizations to projects here, verify that this is true (405)
self.post(proj_orgs, data={}, expect=405, auth=self.get_super_credentials())
#self.post(proj_orgs, data={}, expect=405, auth=self.get_super_credentials())
# =====================================================================
# TEAMS