mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-06 01:12:03 +00:00
update test
This commit is contained in:
@@ -27,7 +27,7 @@ class AdminWebSettingsTest(BaseTestCase):
|
|||||||
self.assertEqual(200, resp.status_code)
|
self.assertEqual(200, resp.status_code)
|
||||||
|
|
||||||
json_resp = json.loads(resp.content)
|
json_resp = json.loads(resp.content)
|
||||||
assert len(json_resp) == 28
|
assert len(json_resp) == 30
|
||||||
|
|
||||||
@override_settings(ENABLE_SETTINGS_VIA_WEB = False)
|
@override_settings(ENABLE_SETTINGS_VIA_WEB = False)
|
||||||
def test_get_with_enable_settings(self):
|
def test_get_with_enable_settings(self):
|
||||||
|
Reference in New Issue
Block a user