mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Updated test URL patterns to use path() and re_path().
This commit is contained in:
parent
1136d57f01
commit
043bd70942
104 changed files with 692 additions and 673 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue