Add a test for operation name collisions and fix the one additional collision found

This commit is contained in:
Joseph Schorr 2016-11-10 15:38:27 -05:00
parent 932fa56227
commit aa2704acc7
3 changed files with 12 additions and 4 deletions

View file

@ -361,7 +361,7 @@ class InviteTeamMember(ApiResource):
@path_param('teamname', 'The name of the team')
class TeamPermissions(ApiResource):
""" Resource for listing the permissions an org's team has in the system. """
@nickname('getTeamPermissions')
@nickname('getOrganizationTeamPermissions')
def get(self, orgname, teamname):
""" Returns the list of repository permissions for the org's team. """
permission = AdministerOrganizationPermission(orgname)