Skip to content

test: Enable some tests which are found to be passing locally #4368

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/changelog.d/4368.test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Enable some tests which are found to be passing locally
1 change: 0 additions & 1 deletion tests/parametric/test_parametric_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
2 changes: 0 additions & 2 deletions tests/test_datamodel_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion tests/test_datamodel_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
1 change: 0 additions & 1 deletion tests/test_error_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion tests/test_new_meshing_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
1 change: 0 additions & 1 deletion tests/test_pre_post_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 0 additions & 2 deletions tests/test_tui_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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(
Expand Down