Skip to content

Commit

Permalink
Attempting a fix to get tests to pass with travis. Very odd...
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Wright committed Jul 24, 2013
1 parent a548292 commit 156ccae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/functional_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def test_logout(self):
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)

Expand Down

0 comments on commit 156ccae

Please sign in to comment.