mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-07 01:41:39 +00:00
Cleanup (#4437)
* [cleanup] system admin: removed 'settings' related code & files * [cleanup] system admin: removed 'statistics' related code & files * [cleanup] system admin - users: removed unused code & files * [cleanup] system admin - orgs: removed unused code & files * [system admin / institutions] cleanup * [system admin / notifications] cleanup * [system admin / links] cleanup * [system admin / logs] cleanup * [system admin / virus scan] cleanup * [system admin / invitations] cleanup * system admin / terms] cleanup * [system admin / users] cleanup * [system admin] cleanup * [system admin] cleanup * [system admin] cleanup * modification * modification
This commit is contained in:
@@ -80,9 +80,9 @@ class AuthTest(ApiTestBase):
|
||||
|
||||
def test_client_login_token_wont_enter_sudo_mode(self):
|
||||
url = self._get_client_login_url(admin=True)
|
||||
url += '&next=/sys/useradmin'
|
||||
url += '&next=/sys/info'
|
||||
r = requests.get(url)
|
||||
assert r.url == urljoin(BASE_URL, '/sys/sudo/?next=/sys/useradmin/')
|
||||
assert r.url == urljoin(BASE_URL, '/sys/sudo/?next=/sys/info/')
|
||||
|
||||
def _desktop_login(self):
|
||||
data = {
|
||||
|
Reference in New Issue
Block a user