Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Changaco committed Apr 2, 2015
1 parent 758d098 commit 5d0b668
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/py/test_elsewhere.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ def test_user_pages_not_found(self):
user_name = 'adhsjakdjsdkjsajdhksda'
error = "There doesn't seem to be a user named %s on %s."
for platform in self.platforms:
if not hasattr(platform, 'api_user_name_info_path'):
continue
r = self.client.GxT("/on/%s/%s/" % (platform.name, user_name))
expected = error % (user_name, platform.display_name)
assert expected in r.body
Expand Down

0 comments on commit 5d0b668

Please sign in to comment.