Skip to content

Commit 46c79f8

Browse files
fix: !! (I forgot one)
1 parent 2078cd0 commit 46c79f8

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

src/ansys/dpf/core/workflow.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
server_meet_version_and_raise,
4444
)
4545
from ansys.dpf.core import server as server_module
46-
from ansys.dpf.core.workflow_topology.workflow_topology import WorkflowTopology
4746
from ansys.dpf.gate import (
4847
workflow_abstract_api,
4948
workflow_grpcapi,

tests/test_workflow_topology.py

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,6 @@
2727
import 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-
3830
def 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",

0 commit comments

Comments
 (0)