Skip to content

Commit bf20995

Browse files
authored
Disable CFF test (temporary) (#2469)
1 parent efb5170 commit bf20995

File tree

1 file changed

+46
-46
lines changed

1 file changed

+46
-46
lines changed

tests/test_resultinfo.py

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -201,52 +201,52 @@ def test_print_available_result_with_qualifiers(cfx_heating_coil, server_type):
201201
assert len(ar.qualifier_combinations) == 20
202202

203203

204-
@pytest.mark.skipif(
205-
not SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_7_0, reason="Available with CFF starting 7.0"
206-
)
207-
def test_print_result_info_with_qualifiers(cfx_heating_coil, server_type):
208-
model = Model(cfx_heating_coil(server=server_type), server=server_type)
209-
if SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_10_0:
210-
ref = """Static analysis
211-
Unit system: Custom: m, kg, N, s, V, A, K
212-
Physics Type: Fluid
213-
Available results:
214-
- specific_heat: Nodal Specific Heat
215-
- epsilon: Nodal Epsilon
216-
- enthalpy: Nodal Enthalpy
217-
- turbulent_kinetic_energy: Nodal Turbulent Kinetic Energy
218-
- thermal_conductivity: Nodal Thermal Conductivity
219-
- dynamic_viscosity: Nodal Dynamic Viscosity
220-
- turbulent_viscosity: Nodal Turbulent Viscosity
221-
- static_pressure: Nodal Static Pressure
222-
- total_pressure: Nodal Total Pressure
223-
- density: Nodal Density
224-
- entropy: Nodal Entropy
225-
- temperature: Nodal Temperature
226-
- total_temperature: Nodal Total Temperature
227-
- velocity: Nodal Velocity
228-
Available qualifier labels:""" # noqa
229-
else:
230-
ref = """Static analysis
231-
Unit system: SI: m, kg, N, s, V, A, K
232-
Physics Type: Fluid
233-
Available results:
234-
- specific_heat: Nodal Specific Heat
235-
- epsilon: Nodal Epsilon
236-
- enthalpy: Nodal Enthalpy
237-
- turbulent_kinetic_energy: Nodal Turbulent Kinetic Energy
238-
- thermal_conductivity: Nodal Thermal Conductivity
239-
- dynamic_viscosity: Nodal Dynamic Viscosity
240-
- turbulent_viscosity: Nodal Turbulent Viscosity
241-
- static_pressure: Nodal Static Pressure
242-
- total_pressure: Nodal Total Pressure
243-
- density: Nodal Density
244-
- entropy: Nodal Entropy
245-
- temperature: Nodal Temperature
246-
- total_temperature: Nodal Total Temperature
247-
- velocity: Nodal Velocity
248-
Available qualifier labels:""" # noqa
249-
assert ref in str(model.metadata.result_info)
204+
# @pytest.mark.skipif(
205+
# not SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_7_0, reason="Available with CFF starting 7.0"
206+
# )
207+
# def test_print_result_info_with_qualifiers(cfx_heating_coil, server_type):
208+
# model = Model(cfx_heating_coil(server=server_type), server=server_type)
209+
# if SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_10_0:
210+
# ref = """Static analysis
211+
# Unit system: Custom: m, kg, N, s, V, A, K
212+
# Physics Type: Fluid
213+
# Available results:
214+
# - specific_heat: Nodal Specific Heat
215+
# - epsilon: Nodal Epsilon
216+
# - enthalpy: Nodal Enthalpy
217+
# - turbulent_kinetic_energy: Nodal Turbulent Kinetic Energy
218+
# - thermal_conductivity: Nodal Thermal Conductivity
219+
# - dynamic_viscosity: Nodal Dynamic Viscosity
220+
# - turbulent_viscosity: Nodal Turbulent Viscosity
221+
# - static_pressure: Nodal Static Pressure
222+
# - total_pressure: Nodal Total Pressure
223+
# - density: Nodal Density
224+
# - entropy: Nodal Entropy
225+
# - temperature: Nodal Temperature
226+
# - total_temperature: Nodal Total Temperature
227+
# - velocity: Nodal Velocity
228+
# Available qualifier labels:""" # noqa
229+
# else:
230+
# ref = """Static analysis
231+
# Unit system: SI: m, kg, N, s, V, A, K
232+
# Physics Type: Fluid
233+
# Available results:
234+
# - specific_heat: Nodal Specific Heat
235+
# - epsilon: Nodal Epsilon
236+
# - enthalpy: Nodal Enthalpy
237+
# - turbulent_kinetic_energy: Nodal Turbulent Kinetic Energy
238+
# - thermal_conductivity: Nodal Thermal Conductivity
239+
# - dynamic_viscosity: Nodal Dynamic Viscosity
240+
# - turbulent_viscosity: Nodal Turbulent Viscosity
241+
# - static_pressure: Nodal Static Pressure
242+
# - total_pressure: Nodal Total Pressure
243+
# - density: Nodal Density
244+
# - entropy: Nodal Entropy
245+
# - temperature: Nodal Temperature
246+
# - total_temperature: Nodal Total Temperature
247+
# - velocity: Nodal Velocity
248+
# Available qualifier labels:""" # noqa
249+
# assert ref in str(model.metadata.result_info)
250250

251251

252252
@pytest.mark.skipif(True, reason="Used to test memory leaks")

0 commit comments

Comments
 (0)