File tree Expand file tree Collapse file tree
openedx/core/djangoapps/content_libraries/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414import tomlkit
1515from django .core .files .uploadedfile import SimpleUploadedFile
1616from django .contrib .auth .models import Group
17- from django .db import transaction
1817from django .test import override_settings
1918from django .test .client import Client
2019from freezegun import freeze_time
3534 URL_BLOCK_XBLOCK_HANDLER ,
3635 ContentLibrariesRestApiTest ,
3736)
38- from openedx_authz .tests .api .test_roles import BaseRolesTestCase
3937from openedx_authz import api as authz_api
4038from openedx_authz .constants import roles
4139from openedx .core .djangoapps .xblock import api as xblock_api
@@ -1381,8 +1379,8 @@ def test_edit_permissions(self):
13811379 for user in self ._all_users_excluding (self .library_editors ):
13821380 with self .as_user (user ):
13831381 self ._update_library (
1384- self .lib_id ,
1385- description = "I can't edit this." , expect_response = status .HTTP_403_FORBIDDEN )
1382+ self .lib_id ,
1383+ description = "I can't edit this." , expect_response = status .HTTP_403_FORBIDDEN )
13861384
13871385 # Verify the no permitted changes weren't made:
13881386 data = self ._get_library (self .lib_id )
You can’t perform that action at this time.
0 commit comments