From 364e68f023f1e92b2d490855a6ef353d20c67d4c Mon Sep 17 00:00:00 2001 From: Cristhian Garcia Date: Tue, 22 Oct 2024 08:19:07 -0500 Subject: [PATCH] chore: quality fixes --- .../core/djangoapps/content_libraries/tests/test_embed_block.py | 2 +- openedx/core/djangoapps/content_libraries/views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openedx/core/djangoapps/content_libraries/tests/test_embed_block.py b/openedx/core/djangoapps/content_libraries/tests/test_embed_block.py index 10a6440514c..e9909b7d606 100644 --- a/openedx/core/djangoapps/content_libraries/tests/test_embed_block.py +++ b/openedx/core/djangoapps/content_libraries/tests/test_embed_block.py @@ -219,7 +219,7 @@ def test_embed_view_versions_static_assets(self): # show up. html = self._embed_block(block_id, version='published') # This is the pattern we're looking for: - # + # assert re.search(r'/library_assets/component_versions/[0-9a-f-]*/static/deer.jpg', html) # Now grab the draft version (4), which is going to once again not have diff --git a/openedx/core/djangoapps/content_libraries/views.py b/openedx/core/djangoapps/content_libraries/views.py index db2bb05c67d..50b532f25bc 100644 --- a/openedx/core/djangoapps/content_libraries/views.py +++ b/openedx/core/djangoapps/content_libraries/views.py @@ -87,7 +87,7 @@ import edx_api_doc_tools as apidocs from opaque_keys import InvalidKeyError -from opaque_keys.edx.locator import LibraryLocatorV2, LibraryUsageLocatorV2, UsageKeyV2 +from opaque_keys.edx.locator import LibraryLocatorV2, LibraryUsageLocatorV2 from openedx_learning.api import authoring from organizations.api import ensure_organization from organizations.exceptions import InvalidOrganizationException