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:
parent
c78e06ddbb
commit
c9e32ce94f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user