Skip to content

individual bool parameters for removing additional graph types #35

individual bool parameters for removing additional graph types

individual bool parameters for removing additional graph types #35

GitHub Actions / JUnit Test Report failed Dec 1, 2023 in 0s

11 tests run, 10 passed, 0 skipped, 1 failed.

Annotations

Check failure on line 38 in .mypy_cache/3.11/tests/test_pyshacl.data.json

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_pyshacl.test_workflow_execution

TypeError: ShaclValidation.__init__() got an unexpected keyword argument 'remove_thesaurus_graph_typ'
Raw output
def test_workflow_execution():
        """Test plugin execution"""
        shacl_graph_uri = f"https://example.org/pyshacl-plugin-test/{uuid4()}"
        validation_graph_uri = f"https://example.org/pyshacl-plugin-test/{uuid4()}"
        post_shacl_shacl(shacl_graph_uri)
>       plugin = ShaclValidation(
            data_graph_uri="https://vocab.eccenca.com/shacl/",
            shacl_graph_uri=shacl_graph_uri,
            validation_graph_uri=validation_graph_uri,
            ontology_graph_uri="",
            generate_graph=True,
            output_entities=True,
            clear_validation_graph=True,
            owl_imports=True,
            skolemize=True,
            add_labels=True,
            include_graphs_labels=True,
            add_shui_conforms=True,
            meta_shacl=True,
            inference="both",
            advanced=True,
            remove_dataset_graph_type=True,
            remove_thesaurus_graph_typ=True,
            remove_shape_catalog_graph_type=True,
        )
E       TypeError: ShaclValidation.__init__() got an unexpected keyword argument 'remove_thesaurus_graph_typ'

tests/test_pyshacl.py:38: TypeError