Skip to content

Commit

Permalink
Add some logging
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelb committed Jun 9, 2014
1 parent a79cf06 commit dd5b86b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ckan/new_tests/controllers/test_package.py
@@ -1,11 +1,14 @@
from nose.tools import assert_equal
from routes import url_for as url_for
from pylons import config

import ckan.new_tests.controllers as controllers
import ckan.new_tests.factories as factories
import ckan.new_tests.helpers as helpers
import ckan.lib.search as search
import logging

log = logging.getLogger('ckan')

class TestResourceRead(controllers.WsgiAppCase):

Expand All @@ -26,6 +29,7 @@ def test_existing_resource_with_associated_package(self):
new_package = factories.Dataset()
resource = factories.Resource(package_id=new_package['id'],
format='csv')
log.critical(config.get('ckan.plugins'))
response = self.app.get(
url=url_for(controller='package', action='resource_read',
id=new_package['id'], resource_id=resource['id']),
Expand Down

0 comments on commit dd5b86b

Please sign in to comment.