Code

Ticket #12378: 12378.diff

File 12378.diff, 1.0 KB (added by jcd, 4 years ago)

Patch to remove redundant test.

Line 
1Index: tests/regressiontests/admin_widgets/tests.py
2===================================================================
3--- tests/regressiontests/admin_widgets/tests.py        (revision 11865)
4+++ tests/regressiontests/admin_widgets/tests.py        (working copy)
5@@ -126,7 +126,3 @@
6     def test_changelist_foreignkey(self):
7         response = self.client.get('%s/admin_widgets/car/' % self.admin_root)
8         self.failUnless('%s/auth/user/add/' % self.admin_root in response.content)
9-
10-class OldAdminForeignKeyWidgetChangeList(AdminForeignKeyWidgetChangeList):
11-    urls = 'regressiontests.admin_widgets.urls2'
12-    admin_root = '/deep/down/admin'
13Index: tests/regressiontests/admin_widgets/urls2.py
14===================================================================
15--- tests/regressiontests/admin_widgets/urls2.py        (revision 11865)
16+++ tests/regressiontests/admin_widgets/urls2.py        (working copy)
17@@ -1,7 +0,0 @@
18-
19-from django.conf.urls.defaults import *
20-import widgetadmin
21-
22-urlpatterns = patterns('',
23-    (r'^deep/down/admin/', include(widgetadmin.site.urls)),
24-)