Fix passing category to login required message

This commit is contained in:
Eskil Heyn Olsen
2013-01-13 23:25:16 -08:00
parent e9b40a12c8
commit 3081d76787
2 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -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()