From c8b87f3a72bae7a74c0f102b26b9e5c7f885450e Mon Sep 17 00:00:00 2001 From: amercader Date: Mon, 26 Aug 2024 14:53:09 +0200 Subject: [PATCH] Fix test --- ckanext/dcat/tests/test_scheming_support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)