mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
[4.0.x] Refs #32956 -- Capitalized HTTP/HTTPS in comments, docs, and docstrings.
Backport of 7ef0bc922c from main
This commit is contained in:
committed by
Mariusz Felisiak
parent
ea66d1f2ae
commit
5d62beb61a
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user