Skip to content

Commit

Permalink
[#256] Rename dashboard activity list test
Browse files Browse the repository at this point in the history
* Rename dashboard activity list test for clarity.
* Remove extraneous print statement.
  • Loading branch information
nigelbabu committed Apr 17, 2013
1 parent 7013645 commit 02605e3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ckan/tests/functional/api/test_dashboard.py
Expand Up @@ -332,8 +332,7 @@ def test_09_activities_that_should_not_show(self):

assert before == after

def test_10_dashboard_activity_list_html(self):
'''Test that dashboard activity list html call works.'''
def test_10_dashboard_activity_list_html_does_not_crash(self):

params = json.dumps({'name': 'irrelevant_dataset1'})
response = self.app.post('/api/action/package_create', params=params,
Expand All @@ -348,5 +347,4 @@ def test_10_dashboard_activity_list_html(self):
res = self.app.get('/api/3/action/dashboard_activity_list_html',
extra_environ={'Authorization':
str(self.annafan['apikey'])})
print res.json['result']
assert res.json['success'] is True

0 comments on commit 02605e3

Please sign in to comment.