mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
This commit is contained in:
parent
4bb70cbcc6
commit
321e94fa41
185 changed files with 1216 additions and 1528 deletions
|
@ -98,7 +98,7 @@ class CommonMiddlewareTest(SimpleTestCase):
|
|||
@override_settings(APPEND_SLASH=True, DEBUG=True)
|
||||
def test_append_slash_no_redirect_on_POST_in_DEBUG(self):
|
||||
"""
|
||||
Tests that while in debug mode, an exception is raised with a warning
|
||||
While in debug mode, an exception is raised with a warning
|
||||
when a failed attempt is made to POST, PUT, or PATCH to an URL which
|
||||
would normally be redirected to a slashed version.
|
||||
"""
|
||||
|
@ -210,7 +210,7 @@ class CommonMiddlewareTest(SimpleTestCase):
|
|||
@override_settings(APPEND_SLASH=True, DEBUG=True)
|
||||
def test_append_slash_no_redirect_on_POST_in_DEBUG_custom_urlconf(self):
|
||||
"""
|
||||
Tests that while in debug mode, an exception is raised with a warning
|
||||
While in debug mode, an exception is raised with a warning
|
||||
when a failed attempt is made to POST to an URL which would normally be
|
||||
redirected to a slashed version.
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue