From 6e80f566c72895076eed655601f0db62bcf2c6bb Mon Sep 17 00:00:00 2001 From: Thomas Date: Wed, 25 Sep 2024 11:12:47 +0200 Subject: [PATCH] use rdflib.to_isomorphic in test --- tests/test_pyshacl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_pyshacl.py b/tests/test_pyshacl.py index 11fc699..08fb2fb 100644 --- a/tests/test_pyshacl.py +++ b/tests/test_pyshacl.py @@ -7,7 +7,7 @@ import pytest from cmem.cmempy.dp.proxy.graph import delete, get, post_streamed from rdflib import PROV, RDF, Graph, URIRef -from rdflib.compare import isomorphic +from rdflib.compare import to_isomorphic from cmem_plugin_pyshacl.plugin_pyshacl import ShaclValidation @@ -72,4 +72,4 @@ def test_workflow_execution(_setup: None) -> None: # noqa: PT019 result.remove((None, PROV.generatedAtTime, None)) test = Graph().parse(Path(__path__[0]) / "test_pyshacl.ttl", format="turtle") - assert isomorphic(result, test) + assert to_isomorphic(result) == to_isomorphic(test)