Skip to content

Commit

Permalink
test graphs overwrite=True
Browse files Browse the repository at this point in the history
  • Loading branch information
muddymudskipper committed Sep 24, 2024
1 parent 8c5ea11 commit aa1808c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_shapes.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def remove_import() -> None:
delete_project(PROJECT_NAME)
make_new_project(PROJECT_NAME)

res = post(DATA_IRI, Path(__path__[0]) / "test_shapes_data.ttl", replace=False)
res = post(DATA_IRI, Path(__path__[0]) / "test_shapes_data.ttl", replace=True)
if res.status_code != 204: # noqa: PLR2004
raise ValueError(f"Response {res.status_code}: {res.url}")

Expand All @@ -56,7 +56,7 @@ def test_workflow_execution(_setup: pytest.FixtureRequest) -> None: # noqa: PT0
ShapesPlugin(
data_graph_iri=DATA_IRI,
shapes_graph_iri=RESULT_IRI,
overwrite=False,
overwrite=True,
import_shapes=True,
prefix_cc=True,
).execute(inputs=None, context=TestExecutionContext(project_id=PROJECT_NAME))
Expand Down

0 comments on commit aa1808c

Please sign in to comment.