diff --git a/ckanext/dcat/tests/test_scheming_support.py b/ckanext/dcat/tests/test_scheming_support.py index 93238c27..fc55f700 100644 --- a/ckanext/dcat/tests/test_scheming_support.py +++ b/ckanext/dcat/tests/test_scheming_support.py @@ -343,7 +343,7 @@ def test_e2e_ckan_to_dcat(self): g, spatial[0][2], SKOS.prefLabel, dataset["spatial_coverage"][0]["text"] ) - assert len([t for t in g.triples((spatial[0][2], LOCN.geometry, None))]) == 1 + assert len([t for t in g.triples((spatial[0][2], LOCN.Geometry, None))]) == 1 # Geometry in WKT wkt_geom = wkt.dumps(dataset["spatial_coverage"][0]["geom"], decimals=4) assert self._triple(g, spatial[0][2], LOCN.Geometry, wkt_geom, GSP.wktLiteral)