Skip to content

Commit

Permalink
[#2939] Add snarky comment about pointless test
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Oct 10, 2012
1 parent 6d0e690 commit 889b512
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ckan/tests/functional/test_activity.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,9 @@ def test_user_activity(self):
== 15

# The latest 15 should also appear on the dashboard
# THIS TEST IS A WASTE OF SPACE AND TESTS NOTHING. WOULDN'T WORK IF
# FIXED (response? result perhaps) AND USES A FEATURE (id parameter)
# THAT IS NOT IMPLEMENTED. I love tests :)
offset = url_for(controller='user', action='dashboard')
params = {'id': user['id']}
extra_environ = {'Authorization': str(self.sysadmin_user.apikey)}
Expand Down

0 comments on commit 889b512

Please sign in to comment.