diff options
author | David Smith <smithdc@gmail.com> | 2021-10-18 17:06:00 +0100 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-10-18 21:00:28 +0200 |
commit | 69b0736fad1d1f0197409ca025b7bcdf5666ae62 (patch) | |
tree | 10186ffaf53d0d472429a0e2a6e0bea60ea709b5 /tests/generic_views | |
parent | e2f778d57947d168a875159e6df075255eea4bbc (diff) | |
download | django-69b0736fad1d1f0197409ca025b7bcdf5666ae62.tar.gz |
Refs #32956 -- Changed docs to treat the acronym HTTP phonetically.
Diffstat (limited to 'tests/generic_views')
-rw-r--r-- | tests/generic_views/test_base.py | 5 |
1 files changed, 3 insertions, 2 deletions
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 ' |