mirror of
https://github.com/django/django.git
synced 2025-10-30 09:06:13 +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:
@@ -576,7 +576,8 @@ class AuthenticationFormTest(TestDataMixin, TestCase):
|
||||
]
|
||||
)
|
||||
def test_custom_login_allowed_policy(self):
|
||||
# The user is inactive, but our custom form policy allows them to log in.
|
||||
# The user is inactive, but our custom form policy allows them to log
|
||||
# in.
|
||||
data = {
|
||||
"username": "inactive",
|
||||
"password": "password",
|
||||
@@ -1322,9 +1323,9 @@ class PasswordResetFormTest(TestDataMixin, TestCase):
|
||||
|
||||
def test_save_plaintext_email(self):
|
||||
"""
|
||||
Test the PasswordResetForm.save() method with no html_email_template_name
|
||||
parameter passed in.
|
||||
Test to ensure original behavior is unchanged after the parameter was added.
|
||||
Test the PasswordResetForm.save() method with no
|
||||
html_email_template_name parameter passed in. Test to ensure original
|
||||
behavior is unchanged after the parameter was added.
|
||||
"""
|
||||
(user, username, email) = self.create_dummy_user()
|
||||
form = PasswordResetForm({"email": email})
|
||||
|
||||
Reference in New Issue
Block a user