Pep8 autofixes
This commit is contained in:
@@ -21,6 +21,7 @@ def _url_replace_regex(prefix):
|
||||
(?P=quote) # the first matching closing quote
|
||||
""".format(prefix=prefix)
|
||||
|
||||
|
||||
def try_staticfiles_lookup(path):
|
||||
"""
|
||||
Try to lookup a path in staticfiles_storage. If it fails, return
|
||||
|
||||
@@ -53,6 +53,7 @@ def test_mongo_filestore(mock_modulestore, mock_static_content):
|
||||
|
||||
mock_static_content.convert_legacy_static_url.assert_called_once_with('file.png', NAMESPACE)
|
||||
|
||||
|
||||
@patch('static_replace.settings')
|
||||
@patch('static_replace.modulestore')
|
||||
@patch('static_replace.staticfiles_storage')
|
||||
|
||||
Reference in New Issue
Block a user