1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-22 11:57:34 +00:00

Revert "Sys admin react reconstruct (#3916)" (#3917)

This reverts commit f47e728b4e.
This commit is contained in:
llj
2019-07-25 16:39:29 +08:00
committed by GitHub
parent f47e728b4e
commit 849585e8a4
8 changed files with 14 additions and 226 deletions

View File

@@ -26,11 +26,7 @@ class AdminLicenseTest(BaseTestCase):
resp = self.client.post(url, {'license': f})
json_resp = json.loads(resp.content)
assert json_resp['with_license'] is True
assert json_resp['license_expiration'] is not None
assert json_resp['license_mode'] is not None
assert json_resp['license_maxusers'] is not None
assert json_resp['license_to'] is not None
assert json_resp['success'] is True
assert os.path.exists(LICENSE_PATH)
@patch.object(license_api, 'ccnet_api')