mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #36500 -- Rewrapped long docstrings and block comments via a script.
Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505.
This commit is contained in:
@@ -47,7 +47,8 @@ class CSPMiddlewareTest(SimpleTestCase):
|
||||
@override_settings(SECURE_CSP={"default-src": [CSP.SELF, CSP.NONCE]})
|
||||
def test_csp_basic_with_nonce_but_unused(self):
|
||||
"""
|
||||
Test if `request.csp_nonce` is never accessed, it is not added to the header.
|
||||
Test if `request.csp_nonce` is never accessed, it is not added to the
|
||||
header.
|
||||
"""
|
||||
response = self.client.get("/csp-base/")
|
||||
nonce = response.text
|
||||
|
||||
Reference in New Issue
Block a user