Skip to content

Commit 6578e8f

Browse files
committed
refactor: remove unnecessary imports and indent
1 parent a234c6e commit 6578e8f

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

openedx/core/djangoapps/content_libraries/tests/test_content_libraries.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
import tomlkit
1515
from django.core.files.uploadedfile import SimpleUploadedFile
1616
from django.contrib.auth.models import Group
17-
from django.db import transaction
1817
from django.test import override_settings
1918
from django.test.client import Client
2019
from freezegun import freeze_time
@@ -35,7 +34,6 @@
3534
URL_BLOCK_XBLOCK_HANDLER,
3635
ContentLibrariesRestApiTest,
3736
)
38-
from openedx_authz.tests.api.test_roles import BaseRolesTestCase
3937
from openedx_authz import api as authz_api
4038
from openedx_authz.constants import roles
4139
from 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)

0 commit comments

Comments
 (0)