1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #12903 - Made translating the admin action selection text easier. Thanks to Ramiro Morales for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jannis Leidel
2010-04-13 10:29:19 +00:00
parent c3d1267c15
commit 31f7ff1518
6 changed files with 19 additions and 14 deletions

View File

@@ -1443,7 +1443,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 selected')
self.assertContains(response, '0 of 2 selected')
class TestCustomChangeList(TestCase):