'Regression test for #13196: output of functions should be  localized
in the changelist.'

def test_computed_list_display_localization(self):

    User.objects.create_superuser(username=u'super', email=u'super@localhost', password=u'secret')
    self.client.login(username=u'super', password=u'secret')
    event = Event.objects.create(date=datetime.date.today())
    response = self.client.get(u'/admin/admin_changelist/event/')
    self.assertContains(response, formats.localize(event.date))
    self.assertNotContains(response, six.text_type(event.date))
