From c04710534cb3bcecd9894a4b4b4033ec28c2a885 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matt=C3=A9o=20Baussart?= Date: Fri, 6 Dec 2024 14:59:57 +0100 Subject: [PATCH] fix(test): revert some failing changes (ter) --- tests/test_workflow.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/test_workflow.py b/tests/test_workflow.py index 6034f22c3e..40cff92ecf 100644 --- a/tests/test_workflow.py +++ b/tests/test_workflow.py @@ -31,7 +31,6 @@ import conftest from ansys import dpf from ansys.dpf.core import misc -from conftest import raises_for_servers_version_under if misc.module_exists("graphviz"): HAS_GRAPHVIZ = True @@ -1032,7 +1031,10 @@ def test_workflow_input_output_streams(server_in_process, simple_bar): assert times -@raises_for_servers_version_under("10.0") +@pytest.mark.skipif( + not conftest.SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_10_0, + reason="Operator `workflow_to_workflow_topology` does not exist below 10.0", +) def test_workflow_get_output_derived_class(server_type): workflow = dpf.core.Workflow(server=server_type)