Skip to content

Commit eefe27a

Browse files
committed
Fix condition on server version in test_simulation_results (#523)
(cherry picked from commit eff17e0)
1 parent 4495419 commit eefe27a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/test_simulation.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@
99
from ansys.dpf.post.common import AvailableSimulationTypes, elemental_properties
1010
from ansys.dpf.post.index import ref_labels
1111
from ansys.dpf.post.meshes import Meshes
12-
from conftest import ( # SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_5_0,
12+
from conftest import (
1313
SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_4_0,
1414
SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_6_2,
15-
SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_7_0,
1615
SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_7_1,
1716
)
1817

@@ -56,7 +55,7 @@ def test_simulation_units(static_simulation):
5655

5756
def test_simulation_results(static_simulation):
5857
results = static_simulation.results
59-
if not SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_7_0:
58+
if not SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_7_1:
6059
assert len(results) == 12
6160
else:
6261
assert len(results) == 13

0 commit comments

Comments
 (0)