File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1+ Update 2d Meshing test.
Original file line number Diff line number Diff line change @@ -268,10 +268,10 @@ def test_old_workflow_structure(new_meshing_session):
268268@pytest .mark .nightly
269269@pytest .mark .codegen_required
270270@pytest .mark .fluent_version (">=24.2" )
271- def test_new_2d_meshing_workflow (new_meshing_session ):
271+ def test_new_2d_meshing_workflow (new_meshing_session_wo_exit ):
272272 # Import geometry
273273 import_file_name = examples .download_file ("NACA0012.fmd" , "pyfluent/airfoils" )
274- meshing = new_meshing_session
274+ meshing = new_meshing_session_wo_exit
275275 meshing .workflow .InitializeWorkflow (WorkflowType = "2D Meshing" )
276276 meshing .workflow .TaskObject ["Load CAD Geometry" ].Arguments .set_state (
277277 {
@@ -421,7 +421,9 @@ def test_new_2d_meshing_workflow(new_meshing_session):
421421
422422 # Switch to solution mode
423423 solver = meshing .switch_to_solver ()
424- assert solver
424+ assert solver .is_active () is True
425+ assert meshing .is_active () is False
426+ solver .exit ()
425427
426428
427429@pytest .mark .fluent_version (">=24.1" )
You can’t perform that action at this time.
0 commit comments