mirror of
https://github.com/wassname/flask-security.git
synced 2026-09-09 11:22:35 +08:00
Fix passing category to login required message
This commit is contained in:
@@ -60,7 +60,7 @@ class DefaultSecurityTests(SecurityTest):
|
||||
|
||||
def test_unauthorized_access(self):
|
||||
r = self._get('/profile', follow_redirects=True)
|
||||
self.assertIn('Please log in to access this page', r.data)
|
||||
self.assertIn('<li class="message">Please log in to access this page.</li>', r.data)
|
||||
|
||||
def test_authorized_access(self):
|
||||
self.authenticate()
|
||||
|
||||
Reference in New Issue
Block a user