From 95775a5f2f96140f0efd28b5ecafe1a294477a9c Mon Sep 17 00:00:00 2001 From: "paul.profizi" Date: Mon, 21 Oct 2024 11:44:51 +0200 Subject: [PATCH] Skip test_skin_extraction for 2025.1.pre0 --- tests/test_simulation.py | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/tests/test_simulation.py b/tests/test_simulation.py index 12798b260..70e0a412f 100644 --- a/tests/test_simulation.py +++ b/tests/test_simulation.py @@ -1194,19 +1194,9 @@ def test_skin_layer6(self, static_simulation: post.StaticMechanicalSimulation): ], ) def test_skin_extraction(skin, result_name, mode, simulation_str, request): - if not SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_8_0: - # Before 8.0, the solid mesh cannot be connected to the solid_to_skin - # operator. This yield incorrect results. Therefore we skip all the tests - # for older versions. + if not SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_9_1: return - if not SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_9_0: - if is_principal(mode) and result_name == "elastic_strain": - # Principal results for elastic strain were wrong before version - # 9_0 because the strain flag was not propagated correctly - # by the skin to solid mapping operator - return - time_id = 1 simulation = request.getfixturevalue(simulation_str)