Remove old test

This commit is contained in:
Matt Wright
2012-08-21 17:35:19 -04:00
parent d3c23c1994
commit eec0e23620
-15
View File
@@ -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):