Skip to content

update template

update template #50

GitHub Actions / JUnit Test Report failed Sep 23, 2024 in 0s

3 tests run, 2 passed, 0 skipped, 1 failed.

Annotations

Check failure on line 68 in .mypy_cache/3.11/tests/test_shapes.data.json

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_shapes.test_workflow_execution

AssertionError: (rdflib.term.URIRef('https://eccenca.com/shapes_plugin/5072e1e3e96c40389116a6833d9a3867/shapes/bee2a79a-5486-5f1f-ace2-cb3df6ed92c3'), rdflib.term.URIRef('http://www.w3.org/2000/01/rdf-schema#label'), rdflib.term.Literal('was derived from (prov:)', lang='en'))
Raw output
_setup = None

    @needs_cmem
    def test_workflow_execution(_setup: pytest.FixtureRequest) -> None:  # noqa: PT019
        """Test plugin execution"""
        ShapesPlugin(
            data_graph_iri=DATA_IRI,
            shapes_graph_iri=RESULT_IRI,
            overwrite=False,
            import_shapes=True,
        ).execute(inputs=None, context=TestExecutionContext(project_id=PROJECT_NAME))
    
        result = Graph().parse(data=get(RESULT_IRI, owl_imports_resolution=False).text)
        test = Graph().parse(Path(__path__[0]) / "test_shapes.ttl", format="turtle")
    
        in_both, in_first, in_second = graph_diff(test, result)
        if to_isomorphic(result) != to_isomorphic(test):
>           raise (AssertionError(next(iter(in_first))))
E           AssertionError: (rdflib.term.URIRef('https://eccenca.com/shapes_plugin/5072e1e3e96c40389116a6833d9a3867/shapes/bee2a79a-5486-5f1f-ace2-cb3df6ed92c3'), rdflib.term.URIRef('http://www.w3.org/2000/01/rdf-schema#label'), rdflib.term.Literal('was derived from (prov:)', lang='en'))

tests/test_shapes.py:68: AssertionError