From 9966dd932ca3deeb863bb101682833f1b0f55b32 Mon Sep 17 00:00:00 2001 From: Mark Janse Date: Wed, 18 Dec 2024 20:57:31 +0100 Subject: [PATCH] Small cleanup --- ckanext/dcat/profiles/euro_health_dcat_ap.py | 4 ---- .../profiles/dcat_ap_2/test_euro_dcatap_2_profile_parse.py | 1 - .../test_euro_health_dcat_ap_profile_serialize.py | 1 - 3 files changed, 6 deletions(-) diff --git a/ckanext/dcat/profiles/euro_health_dcat_ap.py b/ckanext/dcat/profiles/euro_health_dcat_ap.py index 93f0e004..2144f097 100644 --- a/ckanext/dcat/profiles/euro_health_dcat_ap.py +++ b/ckanext/dcat/profiles/euro_health_dcat_ap.py @@ -1,7 +1,3 @@ -"""Test document""" - -import json - from rdflib import RDF, SKOS, XSD, BNode, Literal, URIRef, term from rdflib.namespace import Namespace diff --git a/ckanext/dcat/tests/profiles/dcat_ap_2/test_euro_dcatap_2_profile_parse.py b/ckanext/dcat/tests/profiles/dcat_ap_2/test_euro_dcatap_2_profile_parse.py index fdda473f..1bce901c 100644 --- a/ckanext/dcat/tests/profiles/dcat_ap_2/test_euro_dcatap_2_profile_parse.py +++ b/ckanext/dcat/tests/profiles/dcat_ap_2/test_euro_dcatap_2_profile_parse.py @@ -555,7 +555,6 @@ def test_dataset_distribution_access_service_list_values_only(self): # List endpoint_url_list = access_service.get('endpoint_url') - print(access_service) assert len(endpoint_url_list) == 1 assert 'http://publications.europa.eu/webapi/rdf/sparql' in endpoint_url_list diff --git a/ckanext/dcat/tests/profiles/health_dcat_ap/test_euro_health_dcat_ap_profile_serialize.py b/ckanext/dcat/tests/profiles/health_dcat_ap/test_euro_health_dcat_ap_profile_serialize.py index 1ea287d4..0bfade6e 100644 --- a/ckanext/dcat/tests/profiles/health_dcat_ap/test_euro_health_dcat_ap_profile_serialize.py +++ b/ckanext/dcat/tests/profiles/health_dcat_ap/test_euro_health_dcat_ap_profile_serialize.py @@ -67,7 +67,6 @@ def test_e2e_ckan_to_dcat(self): reference = Graph() reference.parse(data=contents, format="turtle") - print(s.g.serialize(format="turtle")) # First check that all non-blind nodes from the reference are present in the output # Any other nodes added by other profiles (e.g. DCAT-AP 3) we do not have an opinion about for triple in reference: