From 31270c182ce2f10255f554f2ee3db00bc0c9d897 Mon Sep 17 00:00:00 2001 From: muddymudskipper Date: Mon, 12 Aug 2024 14:15:00 +0100 Subject: [PATCH] fix test --- tests/test_reason.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_reason.py b/tests/test_reason.py index 2b86e89..d4d2587 100644 --- a/tests/test_reason.py +++ b/tests/test_reason.py @@ -80,7 +80,6 @@ def test_reasoner(reasoner: str, err_list: list) -> list: ).execute(None, context=TestExecutionContext()) result = get_remote_graph(REASON_RESULT_GRAPH_IRI) - result.serialize(f"temp/{reasoner}.ttl", format="turtle") test = Graph().parse(Path(__path__[0]) / f"test_{reasoner}.ttl", format="turtle") if to_isomorphic(result) != to_isomorphic(test): err_list.append(reasoner) @@ -101,7 +100,7 @@ def test_validate(errors: str) -> str: val_errors += 'EntityPath "markdown" output error. ' if next(iter(result.entities)).values[2][0] != "Full,DL,EL,QL,RL": # type: ignore[union-attr] - val_errors += 'EntityPath "valid_profile" output error. ' + val_errors += 'EntityPath "valid_profiles" output error. ' if md_test != get_resource(PROJECT_ID, MD_FILENAME).decode(): val_errors += "Markdown file error. "