diff --git a/tests/functional_tests.py b/tests/functional_tests.py index 8e67e37..5a5d187 100644 --- a/tests/functional_tests.py +++ b/tests/functional_tests.py @@ -429,21 +429,6 @@ class RecoverableTests(SecurityTest): self.assertIn(self.get_message('INVALID_RESET_PASSWORD_TOKEN'), r.data) - # def test_reset_password_twice_flashes_invalid_token_msg(self): - # with capture_reset_password_requests() as requests: - # self.client.post('/reset', data=dict(email='joe@lp.com')) - # t = requests[0]['token'] - - # data = { - # 'password': 'newpassword', - # 'password_confirm': 'newpassword' - # } - - # url = '/reset/' + t - # r = self.client.post(url, data=data, follow_redirects=True) - # r = self.client.post(url, data=data, follow_redirects=True) - # self.assertIn(self.get_message('INVALID_RESET_PASSWORD_TOKEN'), r.data) - class ExpiredResetPasswordTest(SecurityTest):