fix quality

This commit is contained in:
Jawayria
2021-09-10 21:10:21 +05:00
parent dee102a70b
commit a3fd502bab

View File

@@ -284,7 +284,7 @@ class ResetPasswordTests(EventTestMixin, CacheIsolationTestCase):
body = bodies[body_type]
if django.VERSION >= (3, 0) and body_type=='html':
if django.VERSION >= (3, 0) and body_type == 'html':
expected_output = "You're receiving this e-mail because you requested a password reset"
assert 'Password reset' in sent_message.subject