Skip to content

Commit

Permalink
Remove test_home from legacy tests as was removed in master
Browse files Browse the repository at this point in the history
  • Loading branch information
rossjones committed Dec 23, 2015
1 parent 7c25227 commit 340d5bc
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 692 deletions.
5 changes: 2 additions & 3 deletions ckan/controllers/package.py
Expand Up @@ -1107,7 +1107,6 @@ def resource_read(self, id, resource_id):
c.datastore_api = '%s/api/action' % \
config.get('ckan.site_url', '').rstrip('/')


c.resource['can_be_previewed'] = self._resource_preview(
{'resource': c.resource, 'package': c.package})

Expand Down Expand Up @@ -1310,8 +1309,8 @@ def activity(self, id):
c.pkg_dict = get_action('package_show')(context, data_dict)
c.pkg = context['package']
c.package_activity_stream = get_action(
'package_activity_list_html')(context,
{'id': c.pkg_dict['id']})
'package_activity_list_html')(
context, {'id': c.pkg_dict['id']})
dataset_type = c.pkg_dict['type'] or 'dataset'
except NotFound:
abort(404, _('Dataset not found'))
Expand Down
138 changes: 0 additions & 138 deletions ckan/tests/legacy/functional/test_home.py

This file was deleted.

0 comments on commit 340d5bc

Please sign in to comment.