From 2f587737d7acffbd67cb8f427c5fbc5c42ae60c8 Mon Sep 17 00:00:00 2001 From: Kenneth Date: Thu, 7 Jul 2016 18:58:11 -0700 Subject: Fixed #26872 -- Fixed text overflow in ModelAdmin.list_filter. --- tests/admin_views/tests.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py index f7427f7da0..2886c94bd5 100644 --- a/tests/admin_views/tests.py +++ b/tests/admin_views/tests.py @@ -592,7 +592,7 @@ class AdminViewBasicTest(AdminViewBasicTestCase): for value in params['values']: query_string = urlencode({filter_path: value}) # ensure filter link exists - self.assertContains(response, '' % query_string) + self.assertContains(response, '') - self.assertContains(response, 'Horizontal', msg_prefix=fail_msg, html=True) - self.assertContains(response, 'Vertical', msg_prefix=fail_msg, html=True) + self.assertContains( + response, 'Horizontal', + msg_prefix=fail_msg, html=True + ) + self.assertContains( + response, 'Vertical', + msg_prefix=fail_msg, html=True + ) def test_change_list_null_boolean_display(self): Post.objects.create(public=None) -- cgit v1.3