mirror of
https://github.com/wassname/flask-security.git
synced 2026-09-09 11:22:35 +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)
|
self.assertIsHomePage(r.data)
|
||||||
|
|
||||||
def test_unauthorized_access(self):
|
def test_unauthorized_access(self):
|
||||||
|
self.logout()
|
||||||
r = self._get('/profile', follow_redirects=True)
|
r = self._get('/profile', follow_redirects=True)
|
||||||
self.assertIn('<li class="info">Please log in to access this page.</li>', r.data)
|
self.assertIn('<li class="info">Please log in to access this page.</li>', r.data)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user