File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 4343 server_meet_version_and_raise ,
4444)
4545from ansys .dpf .core import server as server_module
46- from ansys .dpf .core .workflow_topology .workflow_topology import WorkflowTopology
4746from ansys .dpf .gate import (
4847 workflow_abstract_api ,
4948 workflow_grpcapi ,
Original file line number Diff line number Diff line change 2727import conftest
2828
2929
30- def test_instantiate_workflow_to_workflow_topology_op (server_type ):
31- workflow_to_workflow_topology_op = dpf .core .Operator (
32- "workflow_to_workflow_topology" , server = server_type
33- )
34-
35- assert workflow_to_workflow_topology_op
36-
37-
3830def workflow_forward (server_type ) -> dpf .core .Workflow :
3931 """
4032 ┌─────────┐ ┌────────────┐ ┌────────────┐ ┌──────────┐
@@ -164,6 +156,18 @@ def expected_workflow_topology(workflow):
164156 return workflow_topologies [workflow .name ]
165157
166158
159+ @pytest .mark .skipif (
160+ not conftest .SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_10_0 ,
161+ reason = "any does not support operator below 8.0" ,
162+ )
163+ def test_instantiate_workflow_to_workflow_topology_op (server_type ):
164+ workflow_to_workflow_topology_op = dpf .core .Operator (
165+ "workflow_to_workflow_topology" , server = server_type
166+ )
167+
168+ assert workflow_to_workflow_topology_op
169+
170+
167171@pytest .mark .skipif (
168172 not conftest .SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_10_0 ,
169173 reason = "any does not support operator below 8.0" ,
You can’t perform that action at this time.
0 commit comments