We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60a6a76 commit b5cf8f3Copy full SHA for b5cf8f3
1 file changed
tests/hdx/api/test_ckan.py
@@ -283,7 +283,6 @@ def create_resource():
283
resource = resources[i]
284
assert updated_resource["name"] == resource["name"]
285
assert updated_resource.get_format() == resource.get_format()
286
- assert updated_resource["url_type"].lower() == resource["url_type"]
287
url = resource.get("url")
288
if url:
289
if "humdata" in url:
@@ -293,6 +292,7 @@ def create_resource():
293
292
else:
294
assert "humdata" in updated_resource["url"]
295
if i != 7:
+ assert updated_resource["url_type"].lower() == resource["url_type"]
296
assert updated_resource.get("size") == resource.get("size")
297
assert updated_resource.get("hash") == resource.get("hash")
298
0 commit comments