Skip to content

Commit

Permalink
This version of CKAN still requires URLs in resources
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Jun 21, 2017
1 parent 6cde199 commit 50bf21e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ckan/tests/logic/action/test_update.py
Expand Up @@ -750,6 +750,7 @@ def test_resource_format_update(self):
resource = helpers.call_action(
'resource_update',
id=resource['id'],
url='http://localhost',
format='CSV')

# Format changed
Expand Down Expand Up @@ -777,6 +778,7 @@ def test_resource_format_update(self):
second_resource = helpers.call_action(
'resource_update',
id=second_resource['id'],
url='http://localhost',
format='PNG')

# Format changed
Expand All @@ -802,6 +804,7 @@ def test_resource_format_update(self):
third_resource = helpers.call_action(
'resource_update',
id=third_resource['id'],
url='http://localhost',
format='Test format')

# Format added
Expand All @@ -817,6 +820,7 @@ def test_resource_format_update(self):
third_resource = helpers.call_action(
'resource_update',
id=third_resource['id'],
url='http://localhost',
format='CSV')

# Format changed
Expand Down

0 comments on commit 50bf21e

Please sign in to comment.