Ticket #12378: 12378.diff

File 12378.diff, 1.0 KB (added by Cliff Dyer, 15 years ago)

Patch to remove redundant test.

  • tests/regressiontests/admin_widgets/tests.py

     
    126126    def test_changelist_foreignkey(self):
    127127        response = self.client.get('%s/admin_widgets/car/' % self.admin_root)
    128128        self.failUnless('%s/auth/user/add/' % self.admin_root in response.content)
    129 
    130 class OldAdminForeignKeyWidgetChangeList(AdminForeignKeyWidgetChangeList):
    131     urls = 'regressiontests.admin_widgets.urls2'
    132     admin_root = '/deep/down/admin'
  • tests/regressiontests/admin_widgets/urls2.py

     
    1 
    2 from django.conf.urls.defaults import *
    3 import widgetadmin
    4 
    5 urlpatterns = patterns('',
    6     (r'^deep/down/admin/', include(widgetadmin.site.urls)),
    7 )
Back to Top