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:
@@ -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']
|
||||
|
Reference in New Issue
Block a user