mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-10 11:22:09 +00:00
update sysinfo test
This commit is contained in:
parent
c78e06ddbb
commit
c9e32ce94f
@ -22,7 +22,7 @@ class SysinfoTest(BaseTestCase):
|
|||||||
resp = self.client.get(url)
|
resp = self.client.get(url)
|
||||||
json_resp = json.loads(resp.content)
|
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['is_pro'] is False
|
||||||
assert json_resp['multi_tenancy_enabled'] is False
|
assert json_resp['multi_tenancy_enabled'] is False
|
||||||
assert json_resp['license_maxusers'] == 0
|
assert json_resp['license_maxusers'] == 0
|
||||||
@ -49,6 +49,6 @@ class SysinfoTest(BaseTestCase):
|
|||||||
resp = self.client.get(url)
|
resp = self.client.get(url)
|
||||||
json_resp = json.loads(resp.content)
|
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_maxusers'] == 500
|
||||||
assert json_resp['license_to'] == test_user
|
assert json_resp['license_to'] == test_user
|
||||||
|
Loading…
Reference in New Issue
Block a user