mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Updated test URL patterns to use path() and re_path().
This commit is contained in:
@@ -20,7 +20,7 @@ class CheckUrlConfigTests(SimpleTestCase):
|
||||
|
||||
@override_settings(ROOT_URLCONF='check_framework.urls.warning_in_include')
|
||||
def test_check_resolver_recursive(self):
|
||||
# The resolver is checked recursively (examining url()s in include()).
|
||||
# The resolver is checked recursively (examining URL patterns in include()).
|
||||
result = check_url_config(None)
|
||||
self.assertEqual(len(result), 1)
|
||||
warning = result[0]
|
||||
|
||||
Reference in New Issue
Block a user