From 23d3450d5e596839cb27deb20d559d0cb558d987 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sat, 13 Feb 2010 12:00:10 +0000 Subject: [PATCH] Fixed #12378 -- Removed some tests made redundant by feature deprecation. Thanks to jcd for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12418 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/regressiontests/admin_widgets/tests.py | 4 ---- tests/regressiontests/admin_widgets/urls2.py | 7 ------- 2 files changed, 11 deletions(-) delete mode 100644 tests/regressiontests/admin_widgets/urls2.py diff --git a/tests/regressiontests/admin_widgets/tests.py b/tests/regressiontests/admin_widgets/tests.py index 5601b49193..4113e82c1f 100644 --- a/tests/regressiontests/admin_widgets/tests.py +++ b/tests/regressiontests/admin_widgets/tests.py @@ -127,7 +127,3 @@ class AdminForeignKeyWidgetChangeList(DjangoTestCase): def test_changelist_foreignkey(self): response = self.client.get('%s/admin_widgets/car/' % self.admin_root) self.failUnless('%s/auth/user/add/' % self.admin_root in response.content) - -class OldAdminForeignKeyWidgetChangeList(AdminForeignKeyWidgetChangeList): - urls = 'regressiontests.admin_widgets.urls2' - admin_root = '/deep/down/admin' diff --git a/tests/regressiontests/admin_widgets/urls2.py b/tests/regressiontests/admin_widgets/urls2.py deleted file mode 100644 index e38ff66b49..0000000000 --- a/tests/regressiontests/admin_widgets/urls2.py +++ /dev/null @@ -1,7 +0,0 @@ - -from django.conf.urls.defaults import * -import widgetadmin - -urlpatterns = patterns('', - (r'^deep/down/admin/', include(widgetadmin.site.urls)), -)