From 50bf21ea374aecff996001483d44f891e4006e89 Mon Sep 17 00:00:00 2001 From: amercader Date: Wed, 21 Jun 2017 11:56:43 +0100 Subject: [PATCH] This version of CKAN still requires URLs in resources --- ckan/tests/logic/action/test_update.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ckan/tests/logic/action/test_update.py b/ckan/tests/logic/action/test_update.py index ad1bf22617f..43530cac732 100644 --- a/ckan/tests/logic/action/test_update.py +++ b/ckan/tests/logic/action/test_update.py @@ -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 @@ -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 @@ -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 @@ -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