Skip to content

Commit

Permalink
use rdflib.to_isomorphic in test
Browse files Browse the repository at this point in the history
  • Loading branch information
muddymudskipper committed Sep 25, 2024
1 parent 10e56b9 commit 6e80f56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_pyshacl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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)

0 comments on commit 6e80f56

Please sign in to comment.