Skip to content

Commit 8492935

Browse files
wrong name
1 parent f12a0cf commit 8492935

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

tests/test_resultinfo.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_7_1,
3232
SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_8_0,
3333
SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_10_0,
34-
SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_11_0,
3534
)
3635

3736
if SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_5_0:
@@ -73,12 +72,9 @@ def test_get_resultinfo_no_model(velocity_acceleration, server_type):
7372
"co_energy",
7473
"incremental_energy",
7574
"elastic_strain",
75+
"element_orientations",
7676
"structural_temperature",
7777
]
78-
if not SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_11_0:
79-
expected_results.append("element_orientations")
80-
else:
81-
expected_results.append("element_euler_angles")
8278
for result in expected_results:
8379
assert result in available_results_names
8480

@@ -109,12 +105,9 @@ def test_get_resultinfo(model):
109105
"co_energy",
110106
"incremental_energy",
111107
"elastic_strain",
108+
"element_orientations",
112109
"structural_temperature",
113110
]
114-
if not SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_11_0:
115-
expected_results.append("element_orientations")
116-
else:
117-
expected_results.append("element_euler_angles")
118111
for result in expected_results:
119112
assert result in available_results_names
120113

0 commit comments

Comments
 (0)