diff options
| author | Tim Graham <timograham@gmail.com> | 2015-03-04 12:00:12 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-03-04 12:00:12 -0500 |
| commit | 36a17be9f3cf6081f7e6f83fcfeae3d09ce8a72b (patch) | |
| tree | 99f53cbc9700b417374e0a61c1f694f10e1e3d1b /tests | |
| parent | fe42bfaaff93e6b4af34ab48892e20c9cdee0c1a (diff) | |
Fixed #24426 -- Displayed admin actions panel when show_full_result_count=False.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/admin_views/tests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py index 5ec7bc0de2..11cc9e5f39 100644 --- a/tests/admin_views/tests.py +++ b/tests/admin_views/tests.py @@ -2657,6 +2657,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'], |
