diff --git a/tests/regressiontests/admin_widgets/tests.py b/tests/regressiontests/admin_widgets/tests.py index 442fb1ef80c..9e46cbd3392 100644 --- a/tests/regressiontests/admin_widgets/tests.py +++ b/tests/regressiontests/admin_widgets/tests.py @@ -232,7 +232,7 @@ class AdminFileWidgetTest(DjangoTestCase): w = AdminFileWidget() self.assertEqual( conditional_escape(w.render('test', album.cover_art)), - '

Currently: albums\hybrid_theory.jpg
Change:

' % { 'STORAGE_URL': default_storage.url('') }, + '

Currently: albums\hybrid_theory.jpg
Change:

' % { 'STORAGE_URL': default_storage.url('') }, ) self.assertEqual( diff --git a/tests/regressiontests/forms/tests/widgets.py b/tests/regressiontests/forms/tests/widgets.py index 7eda26adb85..7d2b6337786 100644 --- a/tests/regressiontests/forms/tests/widgets.py +++ b/tests/regressiontests/forms/tests/widgets.py @@ -1084,7 +1084,7 @@ class ClearableFileInputTests(TestCase): widget = ClearableFileInput() widget.is_required = False self.assertEqual(widget.render('myfile', FakeFieldFile()), - u'Currently: something
Change: ') + u'Currently: something
Change: ') def test_clear_input_renders_only_if_not_required(self): """ @@ -1095,7 +1095,7 @@ class ClearableFileInputTests(TestCase): widget = ClearableFileInput() widget.is_required = True self.assertEqual(widget.render('myfile', FakeFieldFile()), - u'Currently: something
Change: ') + u'Currently: something
Change: ') def test_clear_input_renders_only_if_initial(self): """