forked from mirrors/bookwyrm
Python formatting
This commit is contained in:
parent
4a695ce612
commit
63163ca0ff
1 changed files with 2 additions and 2 deletions
|
@ -346,7 +346,7 @@ class RegisterViews(TestCase):
|
|||
self.assertEqual(result.status_code, 302)
|
||||
|
||||
def test_confirm_email_post(self, *_):
|
||||
""" send the email """
|
||||
"""send the email"""
|
||||
self.settings.require_confirm_email = True
|
||||
self.settings.save()
|
||||
view = views.ConfirmEmail.as_view()
|
||||
|
@ -360,7 +360,7 @@ class RegisterViews(TestCase):
|
|||
validate_html(result.render())
|
||||
|
||||
def test_resend_link(self, *_):
|
||||
""" try again """
|
||||
"""try again"""
|
||||
request = self.factory.post("", {"email": "mouse@mouse.com"})
|
||||
request.user = self.anonymous_user
|
||||
with patch("bookwyrm.emailing.send_email.delay") as mock:
|
||||
|
|
Loading…
Reference in a new issue