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

update sysinfo test

This commit is contained in:
zming 2017-11-21 13:14:15 +08:00
parent c78e06ddbb
commit c9e32ce94f

View File

@ -22,7 +22,7 @@ class SysinfoTest(BaseTestCase):
resp = self.client.get(url)
json_resp = json.loads(resp.content)
assert len(json_resp) == 15
assert len(json_resp) == 16
assert json_resp['is_pro'] is False
assert json_resp['multi_tenancy_enabled'] is False
assert json_resp['license_maxusers'] == 0
@ -49,6 +49,6 @@ class SysinfoTest(BaseTestCase):
resp = self.client.get(url)
json_resp = json.loads(resp.content)
assert len(json_resp) == 15
assert len(json_resp) == 16
assert json_resp['license_maxusers'] == 500
assert json_resp['license_to'] == test_user