Updated a test to reflect the fact that "import *" isn't used in URLconfs anymore (refs #14675).
This commit is contained in:
parent
100b8dd163
commit
1136d57f01
|
@ -1064,7 +1064,7 @@ class ErrorHandlerResolutionTests(SimpleTestCase):
|
|||
self.assertEqual(self.callable_resolver.resolve_error_handler(code), handler)
|
||||
|
||||
|
||||
@override_settings(ROOT_URLCONF='urlpatterns_reverse.urls_without_full_import')
|
||||
@override_settings(ROOT_URLCONF='urlpatterns_reverse.urls_without_handlers')
|
||||
class DefaultErrorHandlerTests(SimpleTestCase):
|
||||
|
||||
def test_default_handler(self):
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
# A URLs file that doesn't use the default
|
||||
# from django.conf.urls import *
|
||||
# import pattern.
|
||||
# A URLconf that doesn't define any handlerXXX.
|
||||
from django.conf.urls import url
|
||||
|
||||
from .views import bad_view, empty_view
|
Loading…
Reference in New Issue