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

update repo history api

add 'name' and 'contact_email' to result
This commit is contained in:
lian
2017-04-11 17:44:17 +08:00
parent 756ccf1303
commit 132d181c3a
2 changed files with 7 additions and 4 deletions

View File

@@ -20,4 +20,4 @@ class RepoHistoryTest(BaseTestCase):
resp = self.client.get(self.url)
self.assertEqual(200, resp.status_code)
json_resp = json.loads(resp.content)
assert json_resp['data'][0]['creator'] == self.user_name
assert json_resp['data'][0]['email'] == self.user_name