Skip to content

Commit

Permalink
Use the full function name
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelb committed Jun 9, 2014
1 parent 5ebca7b commit 6269616
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckan/new_tests/controllers/test_package.py
Expand Up @@ -28,8 +28,8 @@ def test_existing_resource_with_associated_package(self):
new_package = factories.Dataset()
resource = factories.Resource(package_id=new_package['id'],
format='csv')
assert not(plugin_loaded('text_preview')), 'Plugin loaded is true'
assert plugin_loaded('text_preview'), 'Plugin loaded is false'
assert not(plugin.plugin_loaded('text_preview')), 'Plugin loaded is true'
assert plugin.plugin_loaded('text_preview'), 'Plugin loaded is false'
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 6269616

Please sign in to comment.