1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 00:00:00 +00:00

merge seahub-extra into seahub

This commit is contained in:
王健辉
2021-08-26 13:37:28 +08:00
parent ef4677d560
commit 0430756328
188 changed files with 12959 additions and 77 deletions

View File

@@ -149,7 +149,7 @@ class AdminOrganizationTest(BaseTestCase):
assert json_resp['role'] == 'default'
@patch('seahub.api2.endpoints.admin.organizations.get_available_roles')
@patch('seahub_extra.organizations.models.get_available_roles')
@patch('seahub.organizations.models.get_available_roles')
def test_can_update_role(self, mock_1, mock_2):
mock_1.return_value = ['default', 'custom']
mock_2.return_value = ['default', 'custom']