From 457b214c263dfc30d3d6a65c54b87508623ca53d Mon Sep 17 00:00:00 2001 From: Mainak Kundu Date: Mon, 11 Aug 2025 11:36:44 -0400 Subject: [PATCH 1/2] test: Enable some tests which are found to be passing locally --- tests/parametric/test_parametric_workflow.py | 1 - tests/test_datamodel_api.py | 2 -- tests/test_datamodel_service.py | 1 - tests/test_error_handling.py | 1 - tests/test_new_meshing_workflow.py | 1 - tests/test_pre_post_session.py | 1 - tests/test_tui_api.py | 2 -- 7 files changed, 9 deletions(-) diff --git a/tests/parametric/test_parametric_workflow.py b/tests/parametric/test_parametric_workflow.py index 7d1ec9f50f74..5f855b033195 100644 --- a/tests/parametric/test_parametric_workflow.py +++ b/tests/parametric/test_parametric_workflow.py @@ -32,7 +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(): diff --git a/tests/test_datamodel_api.py b/tests/test_datamodel_api.py index 536359d09842..a0cf20056f74 100644 --- a/tests/test_datamodel_api.py +++ b/tests/test_datamodel_api.py @@ -276,7 +276,6 @@ def cb(val): assert value == "xyz" -@pytest.mark.skip(reason="https://github.com/ansys/pyfluent/issues/4298") @pytest.mark.fluent_version(">=25.2") def test_datamodel_api_on_command_attribute_changed( datamodel_api_version_all, request, new_solver_session @@ -382,7 +381,6 @@ def test_datamodel_api_update_dict(datamodel_api_version_all, new_solver_session assert service.get_state(app_name, "/G/H") == {"X": "abc"} -@pytest.mark.skip(reason="https://github.com/ansys/pyfluent/issues/4298") @pytest.mark.fluent_version(">=25.2") def test_datamodel_api_on_bad_input( datamodel_api_version_all, request, new_solver_session diff --git a/tests/test_datamodel_service.py b/tests/test_datamodel_service.py index a20084668c0d..2544a7a283e8 100644 --- a/tests/test_datamodel_service.py +++ b/tests/test_datamodel_service.py @@ -287,7 +287,6 @@ def test_add_on_command_executed(new_meshing_session): assert data == [] -@pytest.mark.skip("https://github.com/ansys/pyfluent/issues/2999") @pytest.mark.fluent_version(">=23.2") @pytest.mark.codegen_required def test_datamodel_streaming_full_diff_state( diff --git a/tests/test_error_handling.py b/tests/test_error_handling.py index eacef0224bd7..ac7e3c68bb6a 100644 --- a/tests/test_error_handling.py +++ b/tests/test_error_handling.py @@ -47,7 +47,6 @@ def test_fluent_fatal_error(error_code, raises, new_solver_session): time.sleep(0.1) -@pytest.mark.skip(reason="https://github.com/ansys/pyfluent/issues/4298") @pytest.mark.fluent_version(">=25.2") def test_custom_python_error_via_grpc(datamodel_api_version_new, new_solver_session): solver = new_solver_session diff --git a/tests/test_new_meshing_workflow.py b/tests/test_new_meshing_workflow.py index fb5f7911297e..da4ed27ce751 100644 --- a/tests/test_new_meshing_workflow.py +++ b/tests/test_new_meshing_workflow.py @@ -1607,7 +1607,6 @@ def test_scenario_with_common_python_names_from_fdl(new_meshing_session): assert len(two_dimensional.task_names()) == len(set(two_dimensional.task_names())) -@pytest.mark.skip("Failing in GitHub") @pytest.mark.codegen_required @pytest.mark.fluent_version(">=25.1") def test_return_state_changes(new_meshing_session): diff --git a/tests/test_pre_post_session.py b/tests/test_pre_post_session.py index 5423939668e9..daa0b3557f17 100644 --- a/tests/test_pre_post_session.py +++ b/tests/test_pre_post_session.py @@ -27,7 +27,6 @@ from ansys.fluent.core.solver.flobject import InactiveObjectError -@pytest.mark.skip(reason="This test works fine locally but fails on CI") @pytest.mark.fluent_version(">=23.1") def test_pre_post_session(): file_name = examples.download_file("mixing_elbow.cas.h5", "pyfluent/mixing_elbow") diff --git a/tests/test_tui_api.py b/tests/test_tui_api.py index a3e19f341868..9433937c2bb9 100644 --- a/tests/test_tui_api.py +++ b/tests/test_tui_api.py @@ -29,7 +29,6 @@ from ansys.fluent.core.services.datamodel_tui import TUIMenu -@pytest.mark.skip("Failing in github") def test_report_system_proc_stats_tui(new_solver_session, capsys) -> None: new_solver_session.tui.report.system.sys_stats() captured = capsys.readouterr() @@ -52,7 +51,6 @@ def test_python_keyword_menu_name(new_meshing_session): meshing.tui.file.import_.cad_options.create_cad_assemblies("yes") -@pytest.mark.skip("Failing in github") def test_api_upgrade_message(new_solver_session): solver = new_solver_session case_name = download_file( From 140f1d09c7b792f5f3ec00d6162f1ee7c81a5400 Mon Sep 17 00:00:00 2001 From: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> Date: Mon, 11 Aug 2025 17:52:28 +0000 Subject: [PATCH 2/2] chore: adding changelog file 4368.test.md [dependabot-skip] --- doc/changelog.d/4368.test.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/changelog.d/4368.test.md diff --git a/doc/changelog.d/4368.test.md b/doc/changelog.d/4368.test.md new file mode 100644 index 000000000000..bde42d6d8c09 --- /dev/null +++ b/doc/changelog.d/4368.test.md @@ -0,0 +1 @@ +Enable some tests which are found to be passing locally