1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 07:27:04 +00:00

update groups api

This commit is contained in:
lian
2015-12-08 18:43:32 +08:00
parent 038a6122b4
commit c31f201d5b
2 changed files with 17 additions and 14 deletions

View File

@@ -126,7 +126,7 @@ class GroupsTest(BaseTestCase):
json_resp = json.loads(resp.content)
assert json_resp['creator'] == new_creator
def test_can_not_transfer_group_to_myself(self):
def test_can_not_transfer_group_to_group_owner(self):
new_creator = self.user.email
url = reverse('api-v2.1-group', args=[self.group_id])
data = 'operation=transfer&email=%s' % new_creator