summaryrefslogtreecommitdiff
path: root/tests/generic_views
diff options
context:
space:
mode:
Diffstat (limited to 'tests/generic_views')
-rw-r--r--tests/generic_views/test_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/generic_views/test_base.py b/tests/generic_views/test_base.py
index c1ad30526e..7aaea3ffa0 100644
--- a/tests/generic_views/test_base.py
+++ b/tests/generic_views/test_base.py
@@ -143,8 +143,8 @@ class ViewTest(SimpleTestCase):
be named like a HTTP method.
"""
msg = (
- "You tried to pass in the %s method name as a keyword argument "
- "to SimpleView(). Don't do that."
+ 'The method name %s is not accepted as a keyword argument to '
+ 'SimpleView().'
)
# Check each of the allowed method names
for method in SimpleView.http_method_names: