be9ed7e879
* Rename mgp_graph_remove to mgp_graph_delete * Add mgp_graph_detach_delete * Add PyGraph functions * Add _mgp exceptions * Use unified error handling in python wrapper * Ignore clang-tidy warnings * Add mgp.Graph, mgp.Vertex and mgp.Edge mutable functions * Add python write procedure registration * Add `is_write` result field to mg.procedures * Use storage::View::NEW for write procedures * Add simple tests for write procedures * Remove false information about IDs
12 lines
259 B
Python
12 lines
259 B
Python
import pytest
|
|
|
|
from common import execute_and_fetch_all, connect
|
|
|
|
|
|
@pytest.fixture(autouse=True)
|
|
def connection():
|
|
connection = connect()
|
|
yield connection
|
|
cursor = connection.cursor()
|
|
execute_and_fetch_all(cursor, "MATCH (n) DETACH DELETE n")
|