Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
muddymudskipper committed Aug 12, 2024
1 parent a3ce2ba commit 31270c1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_reason.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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. "
Expand Down

0 comments on commit 31270c1

Please sign in to comment.