From 4af317c188c92df0e7e4abc6203ee72736a4efb6 Mon Sep 17 00:00:00 2001 From: Anthony Mahanna Date: Mon, 19 Aug 2024 19:40:35 -0400 Subject: [PATCH] use custom NodeView for `update` --- tests/test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test.py b/tests/test.py index f69c742d..cc439bff 100644 --- a/tests/test.py +++ b/tests/test.py @@ -280,7 +280,7 @@ def extract_arangodb_key(adb_id: str) -> str: for node_id in nodes_ids_list: local_nodes_dict[node_id] = {"extraValue": extract_arangodb_key(node_id)} - G_1._node.update(local_nodes_dict) + G_1.nodes.update(local_nodes_dict) col = db.collection("person") col_docs = col.all() @@ -335,8 +335,8 @@ def test_node_dict_update_multiple_collections( f"{v_2_name}/6": {}, } - G_1._node.update(new_nodes_v1) - G_1._node.update(new_nodes_v2) + G_1.nodes.update(new_nodes_v1) + G_1.nodes.update(new_nodes_v2) assert db.collection(v_1_name).count() == 3 assert db.collection(v_2_name).count() == 3