Skip to content

Commit

Permalink
Fix test case for spatial_coverage in HealthDCAT-AP profile
Browse files Browse the repository at this point in the history
Co-authored-by: Adrià Mercader <[email protected]>
  • Loading branch information
Markus92 and amercader authored Dec 18, 2024
1 parent 655370b commit 1140071
Showing 1 changed file with 5 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,11 @@ def test_e2e_dcat_to_ckan(self):
"http://www.wikidata.org/entity/P4229",
]

# Doesn't really get mapped for some reason
# Should be covered in DCAT-AP base profile
# assert dataset["spatial_coverage"] == [
# {
# "uri": "http://publications.europa.eu/resource/authority/country/BEL",
# "text": None,
# "geom": None,
# "bbox": None,
# "cent": None,
# }
# ]
assert dataset["spatial_coverage"] == [
{
"uri": "http://publications.europa.eu/resource/authority/country/BEL",
}
]

# List fields
assert sorted(dataset["conforms_to"]) == [
Expand Down

0 comments on commit 1140071

Please sign in to comment.