From 69b0736fad1d1f0197409ca025b7bcdf5666ae62 Mon Sep 17 00:00:00 2001 From: David Smith Date: Mon, 18 Oct 2021 17:06:00 +0100 Subject: Refs #32956 -- Changed docs to treat the acronym HTTP phonetically. --- tests/generic_views/test_base.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/generic_views') diff --git a/tests/generic_views/test_base.py b/tests/generic_views/test_base.py index 5872ecf3db..661b9941ea 100644 --- a/tests/generic_views/test_base.py +++ b/tests/generic_views/test_base.py @@ -89,7 +89,8 @@ class ViewTest(SimpleTestCase): def test_pathological_http_method(self): """ - The edge case of a http request that spoofs an existing method name is caught. + The edge case of an http request that spoofs an existing method name is + caught. """ self.assertEqual(SimpleView.as_view()( self.rf.get('/', REQUEST_METHOD='DISPATCH') @@ -140,7 +141,7 @@ class ViewTest(SimpleTestCase): def test_invalid_keyword_argument(self): """ View arguments must be predefined on the class and can't - be named like a HTTP method. + be named like an HTTP method. """ msg = ( 'The method name %s is not accepted as a keyword argument to ' -- cgit v1.2.1