Add pipe test case

This commit is contained in:
wqy
2022-09-17 22:48:20 +08:00
parent a645195eb5
commit 22e815cc6f
2 changed files with 145 additions and 2 deletions

View File

@@ -163,7 +163,7 @@ def add_link(name: str, link_type: str, id: str, table_sql: str, table_undo_sql:
def delete_link(name: str, link_type: str, id: str, table_sql: str, table_undo_sql: str) -> ChangeSet:
if not is_node(name, id):
if not is_link(name, id):
return ChangeSet()
with conn[name].cursor(row_factory=dict_row) as cur: