summaryrefslogtreecommitdiff
path: root/tests/admin_views
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2021-10-19 20:01:44 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-10-20 09:11:04 +0200
commit5d62beb61a7d5a6bb2755d2cdabc8e31f462391f (patch)
tree7a0843e74be73d6fa2a84a9357874fc3bb1b2237 /tests/admin_views
parentea66d1f2ae0053ddbb0c9e0f725dd78cbf70a249 (diff)
[4.0.x] Refs #32956 -- Capitalized HTTP/HTTPS in comments, docs, and docstrings.
Backport of 7ef0bc922c0a78667ed8cbf5f85845b627ccbdf8 from main
Diffstat (limited to 'tests/admin_views')
-rw-r--r--tests/admin_views/tests.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py
index 337b5469f7..1eab343009 100644
--- a/tests/admin_views/tests.py
+++ b/tests/admin_views/tests.py
@@ -289,9 +289,7 @@ class AdminViewBasicTest(AdminViewBasicTestCase):
self.assertEqual(response.status_code, 302) # redirect somewhere
def test_popup_add_POST(self):
- """
- Ensure http response from a popup is properly escaped.
- """
+ """HTTP response from a popup is properly escaped."""
post_data = {
IS_POPUP_VAR: '1',
'title': 'title with a new\nline',