'Ensure we can sort on a list_display field that is a ModelAdmin method
(colunn 4 is \'modeladmin_year\' in ArticleAdmin)'

def testChangeListSortingModelAdmin(self):

    response = self.client.get((u'/test_admin/%s/admin_views/article/' % self.urlbit), {u'o': u'4'})
    self.assertContentBefore(response, u'Oldest    content', u'Middle    content', u'Results    of    sorting    on    ModelAdmin    method    are    out    of    order.')
    self.assertContentBefore(response, u'Middle    content', u'Newest    content', u'Results    of    sorting    on    ModelAdmin    method    are    out    of    order.')
