Skip to content

Commit

Permalink
fix: lint line length
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielVZ96 committed Nov 22, 2024
1 parent 901a6f3 commit c46686d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion common/djangoapps/static_replace/test/test_static_replace.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,11 @@ def processor(__, prefix, quote, rest): # pylint: disable=redefined-outer-name
def test_process_url_no_match_starts_with_xblock():
def processor(original, prefix, quote, rest): # pylint: disable=unused-argument, redefined-outer-name
return quote + 'test' + prefix + rest + quote
assert process_static_urls('"/static/xblock-file.png"', processor, data_dir=DATA_DIRECTORY) == '"test/static/xblock-file.png"'
assert process_static_urls(
'"/static/xblock-file.png"',
processor,
data_dir=DATA_DIRECTORY
) == '"test/static/xblock-file.png"'


@patch('django.http.HttpRequest', autospec=True)
Expand Down

0 comments on commit c46686d

Please sign in to comment.