mirror of
https://github.com/wassname/flask-security.git
synced 2026-08-13 12:10:09 +08:00
Refactor forms and views a bit. Add more validation to forms
This commit is contained in:
@@ -59,7 +59,7 @@ class DefaultSecurityTests(SecurityTest):
|
||||
|
||||
def test_bad_password(self):
|
||||
r = self.authenticate(password="bogus")
|
||||
self.assertIn("Password does not match", r.data)
|
||||
self.assertIn("Invalid password", r.data)
|
||||
|
||||
def test_inactive_user(self):
|
||||
r = self.authenticate("tiya@lp.com", "password")
|
||||
|
||||
Reference in New Issue
Block a user