From 8b3d587ef39dc26fe421614e3d7b5a5ddbf4f7db Mon Sep 17 00:00:00 2001 From: Markus Schubert Date: Mon, 22 Apr 2024 08:26:44 +0200 Subject: [PATCH] Exclude Python-based nodes --- tests/tcp/test_nodes_creation.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/tests/tcp/test_nodes_creation.py b/tests/tcp/test_nodes_creation.py index 34af8ea51..5ede9eb46 100644 --- a/tests/tcp/test_nodes_creation.py +++ b/tests/tcp/test_nodes_creation.py @@ -53,13 +53,14 @@ def test_all_nodes_creation(optislang: Optislang): rs.delete_children_nodes() for node_group in optislang.osl_server.get_available_nodes().values(): - for node in node_group: - print(f"Creating node {node}") - node = rs.create_node(type_=node_types.get_node_type_from_str(node)) - nodes_in_rs = rs.get_nodes() - assert node.uid == nodes_in_rs[0].uid - assert node.type == nodes_in_rs[0].type - node.delete() + if node_group == "builtin_nodes" or node_group == "integration_plugins": + for node in node_group: + print(f"Creating node {node}") + node = rs.create_node(type_=node_types.get_node_type_from_str(node)) + nodes_in_rs = rs.get_nodes() + assert node.uid == nodes_in_rs[0].uid + assert node.type == nodes_in_rs[0].type + node.delete() def test_create_node_in_system(optislang: Optislang):