mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 23:20:51 +00:00
update get repo info api
add `file_count` and rm `desc`
This commit is contained in:
@@ -50,7 +50,6 @@ class ReposApiTest(ApiTestBase):
|
||||
self.assertIsNotNone(rinfo['size'])
|
||||
self.assertIsNotNone(rinfo['name'])
|
||||
self.assertIsNotNone(rinfo['root'])
|
||||
self.assertIsNotNone(rinfo['desc'])
|
||||
self.assertIsNotNone(rinfo['type'])
|
||||
# elf.assertIsNotNone(rinfo['password_need']) # allow null here
|
||||
|
||||
@@ -73,7 +72,6 @@ class ReposApiTest(ApiTestBase):
|
||||
#self.assertIsNotNone(commit['parent_id']) #allow null
|
||||
self.assertIsNotNone(commit['new_merge'])
|
||||
self.assertIsNotNone(commit['repo_id'])
|
||||
self.assertIsNotNone(commit['desc'])
|
||||
self.assertIsNotNone(commit['id'])
|
||||
self.assertIsNotNone(commit['conflict'])
|
||||
#self.assertIsNotNone(commit['second_parent_id']) #allow null
|
||||
|
Reference in New Issue
Block a user