summaryrefslogtreecommitdiff
path: root/tests/admin_views
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-03-04 12:00:12 -0500
committerTim Graham <timograham@gmail.com>2015-03-04 13:56:51 -0500
commit20bf3205027fe581b8f33cd98b164f16a801c813 (patch)
tree9a47e9aee7dea56463905842f7fa81e347bd5711 /tests/admin_views
parent4fa61e0e4f35f407f7e62a32ee7729a458ec545d (diff)
[1.8.x] Fixed #24426 -- Displayed admin actions panel when show_full_result_count=False.
Backport of 36a17be9f3cf6081f7e6f83fcfeae3d09ce8a72b from master
Diffstat (limited to 'tests/admin_views')
-rw-r--r--tests/admin_views/tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py
index e05a2598b5..6425cb21df 100644
--- a/tests/admin_views/tests.py
+++ b/tests/admin_views/tests.py
@@ -2655,6 +2655,7 @@ class AdminSearchTest(TestCase):
self.assertContains(response,
"""<span class="small quiet">1 result (<a href="?">Show all</a>)</span>""",
html=True)
+ self.assertTrue(response.context['cl'].show_admin_actions)
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',),