Skip to content

Commit

Permalink
tests fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Gleb committed Feb 27, 2017
1 parent aabda97 commit f9124da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckan/tests/controllers/test_user.py
Expand Up @@ -497,7 +497,7 @@ def test_user_follow_not_exist(self):
id='not-here')
response = app.post(follow_url, extra_environ=env, status=302)
response = response.follow(status=302)
assert_true('Not authorized to see this page' in response)
assert_true('User not found' in response)

def test_user_unfollow(self):
app = self._get_test_app()
Expand Down Expand Up @@ -551,7 +551,7 @@ def test_user_unfollow_not_exist(self):
status=302)
unfollow_response = unfollow_response.follow(status=302)

assert_true('Not authorized to see this page' in unfollow_response)
assert_true('User not found' in unfollow_response)

def test_user_follower_list(self):
'''Following users appear on followers list page.'''
Expand Down

0 comments on commit f9124da

Please sign in to comment.