1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 23:20:51 +00:00

return head commit id info from repos api

This commit is contained in:
lian
2016-05-21 12:12:01 +08:00
parent 36e3ec2d73
commit e4ac653e34
2 changed files with 6 additions and 0 deletions

View File

@@ -42,6 +42,7 @@ class ReposApiTest(ApiTestBase):
# self.assertIsNotNone(repo['virtual']) #allow null for pub-repo
self.assertIsNotNone(repo['desc'])
self.assertIsNotNone(repo['root'])
self.assertIsNotNone(repo['head_commit_id'])
def test_get_repo_info(self):
with self.get_tmp_repo() as repo: