From 8ef060e0e67ae30cc1a0fee9c679f116d3cc24f1 Mon Sep 17 00:00:00 2001 From: Julien Phalip Date: Sat, 7 Sep 2013 12:41:33 -0500 Subject: [PATCH] Fixed a test failure introduced in 55a11683f7b094ae4fd0b9fa030d18a12657ba98. --- tests/admin_views/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py index 091ce084c8..fc1e18a47f 100644 --- a/tests/admin_views/tests.py +++ b/tests/admin_views/tests.py @@ -2199,7 +2199,7 @@ class AdminSearchTest(TestCase): from django.contrib.admin.views.main import TO_FIELD_VAR response = self.client.get('/test_admin/admin/auth/user/?q=joe&%s=username' % TO_FIELD_VAR) self.assertContains(response, "\n1 user\n") - self.assertContains(response, '', html=True) + self.assertContains(response, '', html=True) def test_exact_matches(self): response = self.client.get('/test_admin/admin/admin_views/recommendation/?q=bar')