From f1d81fb51c9534dbf9fd17a2a41266c317b29ef7 Mon Sep 17 00:00:00 2001 From: liamhuber Date: Mon, 15 May 2023 16:25:43 -0700 Subject: [PATCH] Use current nodes in test --- tests/unit/test_flow_canvas.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/unit/test_flow_canvas.py b/tests/unit/test_flow_canvas.py index 373966a5..f4f11daa 100644 --- a/tests/unit/test_flow_canvas.py +++ b/tests/unit/test_flow_canvas.py @@ -23,11 +23,11 @@ def tearDownClass(cls): def test_remove_node_from_flow(self): flow = self.canvas.flow - val_node = self.gui.nodes_dictionary['built_in']['val'] - results_node = self.gui.nodes_dictionary['built_in']['result'] + lin_node = self.gui.nodes_dictionary['array']['Linspace'] + select_node = self.gui.nodes_dictionary['array']['Select'] - self.canvas.add_node(0, 0, val_node) - self.canvas.add_node(0, 0, results_node) + self.canvas.add_node(0, 0, lin_node) + self.canvas.add_node(0, 0, select_node) c12 = flow.connect_nodes( self.canvas.objects_to_draw[0].outputs[0], self.canvas.objects_to_draw[1].inputs[0]