From c9e32ce94fb131cadc42f45c2f1c8db4ed5d0e89 Mon Sep 17 00:00:00 2001 From: zming <517046497@qq.com> Date: Tue, 21 Nov 2017 13:14:15 +0800 Subject: [PATCH] update sysinfo test --- tests/api/endpoints/admin/test_sysinfo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/api/endpoints/admin/test_sysinfo.py b/tests/api/endpoints/admin/test_sysinfo.py index 55395da0bb..7d40334de5 100644 --- a/tests/api/endpoints/admin/test_sysinfo.py +++ b/tests/api/endpoints/admin/test_sysinfo.py @@ -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