Skip to content

Commit

Permalink
chore: quality fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian2012 committed Oct 22, 2024
1 parent 5c7a140 commit 78fd6fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
# <img src="https://localhost:18010/library_assets/component_versions/.../static/deer.jpg"/>
# <img src="https://{host}/library_assets/component_versions/.../static/deer.jpg"/>
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
Expand Down
2 changes: 1 addition & 1 deletion openedx/core/djangoapps/content_libraries/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 78fd6fa

Please sign in to comment.