mirror of
https://github.com/wassname/flask-security.git
synced 2026-06-27 16:10:11 +08:00
Attempting a fix to get tests to pass with travis. Very odd...
This commit is contained in:
@@ -59,6 +59,7 @@ class DefaultSecurityTests(SecurityTest):
|
||||
self.assertIsHomePage(r.data)
|
||||
|
||||
def test_unauthorized_access(self):
|
||||
self.logout()
|
||||
r = self._get('/profile', follow_redirects=True)
|
||||
self.assertIn('<li class="info">Please log in to access this page.</li>', r.data)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user