summaryrefslogtreecommitdiff
path: root/tests/urlpatterns_reverse
diff options
context:
space:
mode:
Diffstat (limited to 'tests/urlpatterns_reverse')
-rw-r--r--tests/urlpatterns_reverse/tests.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/urlpatterns_reverse/tests.py b/tests/urlpatterns_reverse/tests.py
index 7f565fe487..91ad5a867f 100644
--- a/tests/urlpatterns_reverse/tests.py
+++ b/tests/urlpatterns_reverse/tests.py
@@ -1158,19 +1158,19 @@ class IncludeTests(SimpleTestCase):
def test_include_namespace(self):
msg = (
- "Specifying a namespace in django.conf.urls.include() without "
- "providing an app_name is not supported."
+ 'Specifying a namespace in include() without providing an '
+ 'app_name is not supported.'
)
with self.assertRaisesMessage(ImproperlyConfigured, msg):
include(self.url_patterns, 'namespace')
def test_include_4_tuple(self):
- msg = 'Passing a 4-tuple to django.conf.urls.include() is not supported.'
+ msg = 'Passing a 4-tuple to include() is not supported.'
with self.assertRaisesMessage(ImproperlyConfigured, msg):
include((self.url_patterns, 'app_name', 'namespace', 'blah'))
def test_include_3_tuple(self):
- msg = 'Passing a 3-tuple to django.conf.urls.include() is not supported.'
+ msg = 'Passing a 3-tuple to include() is not supported.'
with self.assertRaisesMessage(ImproperlyConfigured, msg):
include((self.url_patterns, 'app_name', 'namespace'))