mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #21266 -- Fixed E201,E202 pep8 warnings.
This commit is contained in:
committed by
Tim Graham
parent
42a67ec1cd
commit
83b9bfea44
@@ -367,7 +367,9 @@ class AdminFileWidgetTest(DjangoTestCase):
|
||||
w = widgets.AdminFileWidget()
|
||||
self.assertHTMLEqual(
|
||||
w.render('test', album.cover_art),
|
||||
'<p class="file-upload">Currently: <a href="%(STORAGE_URL)salbums/hybrid_theory.jpg">albums\hybrid_theory.jpg</a> <span class="clearable-file-input"><input type="checkbox" name="test-clear" id="test-clear_id" /> <label for="test-clear_id">Clear</label></span><br />Change: <input type="file" name="test" /></p>' % { 'STORAGE_URL': default_storage.url('') },
|
||||
'<p class="file-upload">Currently: <a href="%(STORAGE_URL)salbums/hybrid_theory.jpg">albums\hybrid_theory.jpg</a> <span class="clearable-file-input"><input type="checkbox" name="test-clear" id="test-clear_id" /> <label for="test-clear_id">Clear</label></span><br />Change: <input type="file" name="test" /></p>' % {
|
||||
'STORAGE_URL': default_storage.url('')
|
||||
},
|
||||
)
|
||||
|
||||
self.assertHTMLEqual(
|
||||
|
||||
Reference in New Issue
Block a user