summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/regressiontests/admin_views/tests.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/regressiontests/admin_views/tests.py b/tests/regressiontests/admin_views/tests.py
index cc5783cc86..7c6cdd4944 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('<th scope="col">\s*Gallery\s*</th>', response.content)
- self.assertTrue(m is not None)
-
def testLimitedFilter(self):
"""Ensure admin changelist filters do not contain objects excluded via limit_choices_to.
This also tests relation-spanning filters (e.g. 'color__value').