Skip to content

Commit

Permalink
[#2543] Better test name and comment
Browse files Browse the repository at this point in the history
  • Loading branch information
brew committed Sep 9, 2015
1 parent 9ccba42 commit f065c5e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ckan/tests/controllers/test_user.py
Expand Up @@ -125,8 +125,12 @@ def test_registered_user_login_bad_password(self):

class TestLogout(helpers.FunctionalTestBase):

def test_user_logout(self):
'''_logout url redirects to logged out page.'''
def test_user_logout_url_redirect(self):
'''_logout url redirects to logged out page.
Note: this doesn't test the actual logout of a logged in user, just
the associated redirect.
'''
app = self._get_test_app()

logout_url = url_for(controller='user', action='logout')
Expand Down

0 comments on commit f065c5e

Please sign in to comment.