summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRedouane Zait <unrealdz@gmail.com>2014-11-23 15:08:34 +0100
committerTim Graham <timograham@gmail.com>2014-11-25 11:27:30 -0500
commitf671905fdb678eb9fc3763d94bfe560b2d9d0b40 (patch)
tree9f085328316a4edacf13a7a703fd6c2ea45ec00e /tests
parent3350531cebad22d9e65ae8ce791d92ae1de5437f (diff)
[1.7.x] Fixed #23898 -- Added missing context to admin's deleted_selected view.
Backport of 8e7b384d89db67e450aef1f2eb9a12703a5942e9 from master
Diffstat (limited to 'tests')
-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 3024faa150..2c7db8bd6b 100644
--- a/tests/admin_views/tests.py
+++ b/tests/admin_views/tests.py
@@ -830,6 +830,7 @@ class AdminCustomTemplateTests(AdminViewBasicTestCase):
'_selected_action': group.id
}
response = self.client.post('/test_admin/%s/auth/group/' % (self.urlbit), post_data)
+ self.assertEqual(response.context['site_header'], 'Django administration')
self.assertContains(response, 'bodyclass_consistency_check ')
def test_filter_with_custom_template(self):