diff --git a/tests/regressiontests/admin_views/tests.py b/tests/regressiontests/admin_views/tests.py index cc5783cc863..7c6cdd4944d 100644 --- a/tests/regressiontests/admin_views/tests.py +++ b/tests/regressiontests/admin_views/tests.py @@ -238,17 +238,6 @@ class AdminViewBasicTest(TestCase): "Results of sorting on ModelAdmin method are out of order." ) - def testChangeListSortColumnsDefault(self): - # Need a model that has a list_display with '__str__' as only item. - # Sanity check for assumption made in following test. - self.assertEqual(list(GalleryAdmin.list_display), ['__str__']) - # A header corresponding to '__str__' should not be in an anchor - # for sorting. - g = Gallery.objects.create(name='gallery1') - response = self.client.get('/test_admin/%s/admin_views/gallery/' % self.urlbit, {}) - m = re.search('