summaryrefslogtreecommitdiff
path: root/tests/auth_tests/test_views.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auth_tests/test_views.py')
-rw-r--r--tests/auth_tests/test_views.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auth_tests/test_views.py b/tests/auth_tests/test_views.py
index 5ba05e8a00..38e2234416 100644
--- a/tests/auth_tests/test_views.py
+++ b/tests/auth_tests/test_views.py
@@ -172,7 +172,10 @@ class PasswordResetTest(AuthViewsTestCase):
self.assertIn("<html>", message.get_payload(1).get_payload())
def test_email_found_custom_from(self):
- "Email is sent if a valid email address is provided for password reset when a custom from_email is provided."
+ """
+ Email is sent if a valid email address is provided for password reset
+ when a custom from_email is provided.
+ """
response = self.client.post(
"/password_reset_from_email/", {"email": "staffmember@example.com"}
)