mirror of
https://github.com/wassname/flask-security.git
synced 2026-08-11 11:18:40 +08:00
Use a stateful object instead of arbitrary assignment of extension on app object
This commit is contained in:
@@ -279,7 +279,7 @@ class ExpiredConfirmationTest(SecurityTest):
|
||||
self.assertIn(e, outbox[0].html)
|
||||
self.assertNotIn(token, outbox[0].html)
|
||||
|
||||
expire_text = self.app.security.confirm_email_within
|
||||
expire_text = self.AUTH_CONFIG['SECURITY_CONFIRM_EMAIL_WITHIN']
|
||||
text = 'You did not confirm your account within %s' % expire_text
|
||||
|
||||
self.assertIn(text, r.data)
|
||||
|
||||
Reference in New Issue
Block a user