From 245abfff96a17ea31b956cf728ddac8b5152a1cc Mon Sep 17 00:00:00 2001 From: Prithwish Mukherjee Date: Thu, 22 Jan 2026 18:44:18 +0530 Subject: [PATCH 1/3] chore: Activate failing tests. --- tests/test_flobject.py | 1 - tests/test_settings_api.py | 26 ++++++++++++-------------- 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/tests/test_flobject.py b/tests/test_flobject.py index cc7b7a1bec0b..a5836421176e 100644 --- a/tests/test_flobject.py +++ b/tests/test_flobject.py @@ -892,7 +892,6 @@ def test_settings_api_names_exception(new_solver_session): solver.setup.boundary_conditions["cold-inlet"].name = "hot-inlet" -@pytest.mark.skip(reason="https://github.com/ansys/pyfluent/issues/4645") @pytest.mark.fluent_version(">=24.2") def test_accessor_methods_on_settings_objects(new_solver_session): solver = new_solver_session diff --git a/tests/test_settings_api.py b/tests/test_settings_api.py index 3967e31dbf5d..3d56c923ca45 100644 --- a/tests/test_settings_api.py +++ b/tests/test_settings_api.py @@ -681,20 +681,18 @@ def test_settings_with_deprecated_flag(mixing_elbow_settings_session): # User won't normally find deprecated objects in the settings API, so it is OK to leave them active. assert graphics.contour["contour-velocity"].range_options.is_active() - # https://github.com/ansys/pyfluent/issues/3813 - # in 'get_state' - # if solver.get_fluent_version() >= FluentVersion.v252: - # # From v252 'get_state' behaviour is to be corrected in Fluent. - # assert not {"range_option", "coloring"}.issubset( - # set(graphics.contour["contour-velocity"].get_state()) - # ) - # assert {"range_options", "colorings"}.issubset( - # set(graphics.contour["contour-velocity"].get_state()) - # ) - # else: - # assert {"range_option", "range_options", "coloring", "colorings"}.issubset( - # set(graphics.contour["contour-velocity"].get_state()) - # ) + if solver.get_fluent_version() >= FluentVersion.v252: + # From v252 'get_state' behaviour is to be corrected in Fluent. + assert not {"range_option", "coloring"}.issubset( + set(graphics.contour["contour-velocity"].get_state()) + ) + assert {"range_options", "colorings"}.issubset( + set(graphics.contour["contour-velocity"].get_state()) + ) + else: + assert {"range_option", "range_options", "coloring", "colorings"}.issubset( + set(graphics.contour["contour-velocity"].get_state()) + ) # in 'child_names' # 'child_names', 'command_names' and 'query_names' will remain unchanged. From bb29c6aa29e1dff23c83ed9667c34147c1897be6 Mon Sep 17 00:00:00 2001 From: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> Date: Thu, 22 Jan 2026 13:15:59 +0000 Subject: [PATCH 2/3] chore: adding changelog file 4850.maintenance.md [dependabot-skip] --- doc/changelog.d/4850.maintenance.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/changelog.d/4850.maintenance.md diff --git a/doc/changelog.d/4850.maintenance.md b/doc/changelog.d/4850.maintenance.md new file mode 100644 index 000000000000..66d280fa2b22 --- /dev/null +++ b/doc/changelog.d/4850.maintenance.md @@ -0,0 +1 @@ +Activate failing tests. From 54725780481ac253a2e0215b1ca5fd8a82973539 Mon Sep 17 00:00:00 2001 From: Prithwish Mukherjee Date: Fri, 23 Jan 2026 11:03:03 +0530 Subject: [PATCH 3/3] Add another test. --- tests/parametric/test_parametric_workflow.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/parametric/test_parametric_workflow.py b/tests/parametric/test_parametric_workflow.py index f054ae578d32..dcfd990f7e75 100644 --- a/tests/parametric/test_parametric_workflow.py +++ b/tests/parametric/test_parametric_workflow.py @@ -32,8 +32,6 @@ from ansys.fluent.core.utils.fluent_version import FluentVersion -@pytest.mark.skip(reason="https://github.com/ansys/pyfluent/issues/3855") -@pytest.mark.nightly @pytest.mark.fluent_version("latest") def test_parametric_workflow(): # parent path needs to exist for mkdtemp