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:22:15 -0500
commit8e7b384d89db67e450aef1f2eb9a12703a5942e9 (patch)
tree3829f790ab2d7b8892d61c1bfc59d316373007ee /tests
parent392e11945fa246d751d23bb515703fcaf55dfa26 (diff)
Fixed #23898 -- Added missing context to admin's deleted_selected view.
Thanks Redouane Zait for the report.
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 d8758cd3ac..3d1c5eb7c8 100644
--- a/tests/admin_views/tests.py
+++ b/tests/admin_views/tests.py
@@ -838,6 +838,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):