mirror of
https://github.com/wassname/flask-security.git
synced 2026-07-03 17:10:25 +08:00
Remove old test
This commit is contained in:
@@ -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):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user