1
0
mirror of https://github.com/django/django.git synced 2025-03-28 18:20:49 +00:00

Fixed test of the admin actions selection counter for changes made in r12626. Thanks for the report, Eric Holscher.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12633 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jannis Leidel 2010-03-01 18:58:54 +00:00
parent d2dffd78e6
commit 647651698f

View File

@ -1420,7 +1420,7 @@ class AdminActionsTest(TestCase):
Check if the selection counter is there.
"""
response = self.client.get('/test_admin/admin/admin_views/subscriber/')
self.assertContains(response, '<span class="_acnt">0</span> of 2 subscribers selected')
self.assertContains(response, '<span class="_acnt">0</span> of 2 selected')
class TestCustomChangeList(TestCase):