From 4979e974e8ef678108636109f981f2b2074a4f6a Mon Sep 17 00:00:00 2001 From: Nigel Babu Date: Wed, 17 Apr 2013 11:52:24 +0530 Subject: [PATCH] [#256] Rename dashboard activity list test * Rename dashboard activity list test for clarity. * Remove extraneous print statement. --- ckan/tests/functional/api/test_dashboard.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ckan/tests/functional/api/test_dashboard.py b/ckan/tests/functional/api/test_dashboard.py index 6519e94af13..3a13d48f781 100644 --- a/ckan/tests/functional/api/test_dashboard.py +++ b/ckan/tests/functional/api/test_dashboard.py @@ -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, @@ -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