Exemplo n.º 1
0
def test_delete(tmp_path: Path):
    set_tmp_dir(tmp_path)

    with request_mocker() as m:
        m.delete(API_BASE_URL + Endpoints.graph_delete("uid"))

        result = run_cli(f"delete -f --graph-id uid")
        assert "Graph deleted" in result.output
Exemplo n.º 2
0
def delete_graph(graph_uid: str):
    delete(Endpoints.graph_delete(graph_uid))