'A ``POST`` to the password reset view with email that exists'

def test_password_reset_view_success(self):

    response = self.client.post(reverse('userena_password_reset'), data={'email': 'john@example.com'})
    self.assertEqual(response.status_code, 302)
    self.assertIn(reverse('userena_password_reset_done'), response.get('Location'))
    self.assertTrue(mail.outbox)
