mirror of
https://github.com/wassname/flask-security.git
synced 2026-07-14 01:10:34 +08:00
Simplify login form a bit
This commit is contained in:
@@ -49,10 +49,6 @@ class DefaultSecurityTests(SecurityTest):
|
||||
r = self.authenticate(password="")
|
||||
self.assertIn("Password not provided", r.data)
|
||||
|
||||
def test_invalid_email(self):
|
||||
r = self.authenticate(email="bogus")
|
||||
self.assertIn("Invalid email address", r.data)
|
||||
|
||||
def test_invalid_user(self):
|
||||
r = self.authenticate(email="bogus@bogus.com")
|
||||
self.assertIn("Specified user does not exist", r.data)
|
||||
|
||||
Reference in New Issue
Block a user