diff --git a/tests/test_flobject.py b/tests/test_flobject.py index 276221eff8a..a9fb11dc7f1 100644 --- a/tests/test_flobject.py +++ b/tests/test_flobject.py @@ -696,7 +696,10 @@ def test_accessor_methods_on_settings_object(static_mixer_settings_session): "inlet1" ].turbulence.turbulent_viscosity_ratio - path = '.setup.boundary_conditions.velocity_inlet["inlet1"].turbulence.turbulent_viscosity_ratio' + if solver.get_fluent_version() >= FluentVersion.v251: + path = '.settings.setup.boundary_conditions.velocity_inlet["inlet1"].turbulence.turbulent_viscosity_ratio' + else: + path = '.setup.boundary_conditions.velocity_inlet["inlet1"].turbulence.turbulent_viscosity_ratio' name = "turbulent_viscosity_ratio" assert turbulent_viscosity_ratio.python_path == path