1
0
mirror of https://github.com/django/django.git synced 2025-10-27 07:36:08 +00:00

[1.9.x] Fixed "URLconf" spelling in code comments.

Backport of 37ea3cb03e from master
This commit is contained in:
Tim Graham
2015-10-22 14:46:42 -04:00
parent e241444ef5
commit ca46dc323b
8 changed files with 13 additions and 13 deletions

View File

@@ -282,7 +282,7 @@ class NoURLPatternsTests(SimpleTestCase):
self.assertRaisesMessage(
ImproperlyConfigured,
"The included urlconf 'urlpatterns_reverse.no_urls' does not "
"The included URLconf 'urlpatterns_reverse.no_urls' does not "
"appear to have any patterns in it. If you see valid patterns in "
"the file then the issue is probably caused by a circular import.",
getattr, resolver, 'url_patterns'
@@ -374,7 +374,7 @@ class ResolverTests(unittest.TestCase):
Test repr of RegexURLResolver, especially when urlconf_name is a list
(#17892).
"""
# Pick a resolver from a namespaced urlconf
# Pick a resolver from a namespaced URLconf
resolver = get_resolver('urlpatterns_reverse.namespace_urls')
sub_resolver = resolver.namespace_dict['test-ns1'][1]
self.assertIn('<RegexURLPattern list>', repr(sub_resolver))
@@ -934,7 +934,7 @@ class DefaultErrorHandlerTests(SimpleTestCase):
@override_settings(ROOT_URLCONF=None)
class NoRootUrlConfTests(SimpleTestCase):
"""Tests for handler404 and handler500 if urlconf is None"""
"""Tests for handler404 and handler500 if ROOT_URLCONF is None"""
def test_no_handler_exception(self):
self.assertRaises(ImproperlyConfigured, self.client.get, '/test/me/')