Skip to content

Commit

Permalink
refactor: Update flobject test w.r.t. updated path. (#3282)
Browse files Browse the repository at this point in the history
* refactor: Update flobject test w.r.t. updated path.

* Update tests/test_flobject.py
  • Loading branch information
prmukherj authored Sep 9, 2024
1 parent ecf0749 commit 3a5083b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_flobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,10 @@ def test_accessor_methods_on_settings_object(static_mixer_settings_session):
"inlet1"
].turbulence.turbulent_viscosity_ratio

path = '<session>.setup.boundary_conditions.velocity_inlet["inlet1"].turbulence.turbulent_viscosity_ratio'
if solver.get_fluent_version() >= FluentVersion.v251:
path = '<session>.settings.setup.boundary_conditions.velocity_inlet["inlet1"].turbulence.turbulent_viscosity_ratio'
else:
path = '<session>.setup.boundary_conditions.velocity_inlet["inlet1"].turbulence.turbulent_viscosity_ratio'
name = "turbulent_viscosity_ratio"

assert turbulent_viscosity_ratio.python_path == path
Expand Down

0 comments on commit 3a5083b

Please sign in to comment.