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
This commit is contained in:
parent
cc40651f21
commit
23d3450d5e
|
@ -127,7 +127,3 @@ class AdminForeignKeyWidgetChangeList(DjangoTestCase):
|
||||||
def test_changelist_foreignkey(self):
|
def test_changelist_foreignkey(self):
|
||||||
response = self.client.get('%s/admin_widgets/car/' % self.admin_root)
|
response = self.client.get('%s/admin_widgets/car/' % self.admin_root)
|
||||||
self.failUnless('%s/auth/user/add/' % self.admin_root in response.content)
|
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'
|
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
|
|
||||||
from django.conf.urls.defaults import *
|
|
||||||
import widgetadmin
|
|
||||||
|
|
||||||
urlpatterns = patterns('',
|
|
||||||
(r'^deep/down/admin/', include(widgetadmin.site.urls)),
|
|
||||||
)
|
|
Loading…
Reference in New Issue