Skip to content

Commit f1e3427

Browse files
committed
fix linter issues
1 parent c98d497 commit f1e3427

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_shapes.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,9 @@ def test_workflow_execution_add_graph_not_exists(graph_setup: GraphSetupFixture)
130130

131131

132132
@pytest.mark.parametrize("add_to_graph", [True])
133-
def test_workflow_execution_add_graph_exists(graph_setup: GraphSetupFixture, add_to_graph: bool) -> None:
133+
def test_workflow_execution_add_graph_exists(
134+
graph_setup: GraphSetupFixture, add_to_graph: bool
135+
) -> None:
134136
"""Test plugin execution with "add to graph" setting with existing graph"""
135137
plugin = ShapesPlugin(
136138
data_graph_iri=graph_setup.dataset_iri,
@@ -139,6 +141,7 @@ def test_workflow_execution_add_graph_exists(graph_setup: GraphSetupFixture, add
139141
import_shapes=False,
140142
prefix_cc=False,
141143
)
144+
assert graph_setup.add_to_graph == add_to_graph
142145
plugin.execute(inputs=[], context=TestExecutionContext(project_id=graph_setup.project_name))
143146
result_graph_turtle = get(graph_setup.shapes_iri, owl_imports_resolution=False).text
144147
regexp = rf"<{graph_setup.shapes_iri}> <http://purl.org/dc/terms/modified> .* \."

0 commit comments

Comments
 (0)