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

[api] Add repo last modifier and add cache for memcache ops

This commit is contained in:
zhengxie
2017-06-23 11:30:01 +08:00
parent 966e0bcb9c
commit eb2719fc59
8 changed files with 147 additions and 9 deletions

View File

@@ -58,6 +58,10 @@ class GroupRepoTest(ApiTestBase):
assert resp_repo['mtime'] > 0
assert resp_repo['permission'] in ('r', 'rw')
assert '</time>' in resp_repo['mtime_relative']
assert len(resp_repo['owner_nickname']) > 0
assert len(resp_repo['modifier_email']) > 0
assert len(resp_repo['modifier_contact_email']) > 0
assert len(resp_repo['modifier_name']) > 0
def test_order_by_mtime(self):
with self.get_tmp_group() as group: