Skip to content

Commit

Permalink
[#1386] PEP8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Dec 13, 2013
1 parent 56955c0 commit 910573b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ckan/new_tests/factories.py
Expand Up @@ -159,7 +159,7 @@ def _create(cls, target_class, *args, **kwargs):
assert kwargs.get('package_id'), 'You must provide a package_id'

resource_dict = helpers.call_action('resource_create', context=context,
**kwargs)
**kwargs)
return resource_dict


Expand All @@ -185,10 +185,11 @@ class Dataset(factory.Factory):
url = 'test_dataset.io'
version = '0.1 beta'
resources = [
{'name': 'test_resource',
'description': 'test resource desc',
'format': 'res_format',
'url': 'http://link.to.some.data',
{
'name': 'test_resource',
'description': 'test resource desc',
'format': 'res_format',
'url': 'http://link.to.some.data',
}
]
extras = [
Expand All @@ -214,7 +215,6 @@ def _create(cls, target_class, *args, **kwargs):
return dataset_dict



class Group(factory.Factory):
'''A factory class for creating CKAN groups.'''

Expand Down

0 comments on commit 910573b

Please sign in to comment.