From 86ba841581b9ca05308e14354f5d2ffcf13b5d96 Mon Sep 17 00:00:00 2001 From: Prithwish Mukherjee Date: Mon, 9 Sep 2024 16:18:07 +0530 Subject: [PATCH 1/4] test: Activate 2d meshing tests for 25 R1 --- tests/test_meshing_workflow.py | 2 +- tests/test_new_meshing_workflow.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_meshing_workflow.py b/tests/test_meshing_workflow.py index d7995618398..c49b3915af7 100644 --- a/tests/test_meshing_workflow.py +++ b/tests/test_meshing_workflow.py @@ -250,7 +250,7 @@ def test_old_workflow_structure(new_meshing_session): @pytest.mark.nightly @pytest.mark.codegen_required -@pytest.mark.fluent_version("==24.2") +@pytest.mark.fluent_version(">=24.2") def test_new_2d_meshing_workflow(new_meshing_session): # Import geometry import_file_name = examples.download_file("NACA0012.fmd", "pyfluent/airfoils") diff --git a/tests/test_new_meshing_workflow.py b/tests/test_new_meshing_workflow.py index 3f56b2a19cf..6534acbdc5b 100644 --- a/tests/test_new_meshing_workflow.py +++ b/tests/test_new_meshing_workflow.py @@ -474,7 +474,7 @@ def test_new_fault_tolerant_workflow(new_meshing_session): @pytest.mark.nightly @pytest.mark.codegen_required -@pytest.mark.fluent_version("==24.2") +@pytest.mark.fluent_version(">=24.2") def test_new_2d_meshing_workflow(new_meshing_session): # Import geometry import_file_name = examples.download_file("NACA0012.fmd", "pyfluent/airfoils") From b19db6e4a58e24b59f9e174c62e35f70877e633b Mon Sep 17 00:00:00 2001 From: Prithwish Mukherjee Date: Mon, 9 Sep 2024 17:25:40 +0530 Subject: [PATCH 2/4] Remove path. --- tests/test_meshing_workflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_meshing_workflow.py b/tests/test_meshing_workflow.py index c49b3915af7..259f17d42f7 100644 --- a/tests/test_meshing_workflow.py +++ b/tests/test_meshing_workflow.py @@ -397,7 +397,7 @@ def test_new_2d_meshing_workflow(new_meshing_session): meshing.workflow.TaskObject["Export Fluent 2D Mesh"].Arguments.set_state( { - r"FileName": r"C:\ANSYSDev\PyFluent_Dev_01\pyfluent\out\case1.msh.h5", + r"FileName": r"case1.msh.h5", } ) meshing.workflow.TaskObject["Export Fluent 2D Mesh"].Execute() From d3bdd6ba9d9b7ca88460607b00c53d18bd2c0b7c Mon Sep 17 00:00:00 2001 From: Prithwish Mukherjee <109645853+prmukherj@users.noreply.github.com> Date: Fri, 3 Jan 2025 10:08:35 +0530 Subject: [PATCH 3/4] Update tests/test_new_meshing_workflow.py --- tests/test_new_meshing_workflow.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test_new_meshing_workflow.py b/tests/test_new_meshing_workflow.py index 83ebae8ce2b..940f2f02791 100644 --- a/tests/test_new_meshing_workflow.py +++ b/tests/test_new_meshing_workflow.py @@ -470,7 +470,6 @@ def test_new_fault_tolerant_workflow(new_meshing_session): assert solver -@pytest.mark.nightly @pytest.mark.codegen_required @pytest.mark.fluent_version(">=24.2") def test_new_2d_meshing_workflow(new_meshing_session): From a64b6b64855b4bf96aada5e01c63e8a2324ddd75 Mon Sep 17 00:00:00 2001 From: Prithwish Mukherjee <109645853+prmukherj@users.noreply.github.com> Date: Fri, 3 Jan 2025 10:08:57 +0530 Subject: [PATCH 4/4] Update tests/test_meshing_workflow.py --- tests/test_meshing_workflow.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test_meshing_workflow.py b/tests/test_meshing_workflow.py index 2fdb58eddea..e08342db9b6 100644 --- a/tests/test_meshing_workflow.py +++ b/tests/test_meshing_workflow.py @@ -243,7 +243,6 @@ def test_old_workflow_structure(new_meshing_session): meshing.workflow.import_geometry -@pytest.mark.nightly @pytest.mark.codegen_required @pytest.mark.fluent_version(">=24.2") def test_new_2d_meshing_workflow(new_meshing_session):