mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-22 17:41:08 +00:00
Updates reset password view test
This commit is contained in:
parent
a0b106f6bb
commit
b29be11862
1 changed files with 2 additions and 1 deletions
|
@ -42,7 +42,8 @@ class PasswordViews(TestCase):
|
|||
request = self.factory.post("", {"email": "aa@bb.ccc"})
|
||||
view = views.PasswordResetRequest.as_view()
|
||||
resp = view(request)
|
||||
self.assertEqual(resp.status_code, 302)
|
||||
self.assertEqual(resp.status_code, 200)
|
||||
resp.render()
|
||||
|
||||
request = self.factory.post("", {"email": "mouse@mouse.com"})
|
||||
with patch("bookwyrm.emailing.send_email.delay"):
|
||||
|
|
Loading…
Reference in a new issue