diff --git a/tests/regressiontests/admin_views/tests.py b/tests/regressiontests/admin_views/tests.py
index 4c96306..519a8b2 100644
a
|
b
|
class AdminViewUnicodeTest(TestCase):
|
1085 | 1085 | response = self.client.post('/test_admin/admin/admin_views/book/1/delete/', delete_dict) |
1086 | 1086 | self.assertRedirects(response, '/test_admin/admin/admin_views/book/') |
1087 | 1087 | |
| 1088 | def testUnicodeRecentList(self): |
| 1089 | """ |
| 1090 | Test that unicode model name is properly displayed in Recent Actions list |
| 1091 | """ |
| 1092 | from models import Chapter |
| 1093 | chapter_ct = ContentType.objects.get_for_model(Chapter) |
| 1094 | LogEntry.objects.log_action(100, chapter_ct.pk, 1, "Some chapter", 2) |
| 1095 | response = self.client.get('/test_admin/admin/') |
| 1096 | self.assertContains(response, """<span class="mini quiet">¿Chapter?</span>""") |
| 1097 | |
1088 | 1098 | |
1089 | 1099 | class AdminViewListEditable(TestCase): |
1090 | 1100 | fixtures = ['admin-views-users.xml', 'admin-views-person.xml'] |