Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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/4629.maintenance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update launcher tests and remove PureMeshing from 'from_connection'.
30 changes: 30 additions & 0 deletions tests/test_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,36 @@ def test_new_launch_fluent_api():
solver.exit()
solver_connected.exit()

solver_aero = pyfluent.SolverAero.from_install()
assert solver_aero.is_server_healthy()

ip = solver_aero.connection_properties.ip
port = solver_aero.connection_properties.port
password = solver_aero.connection_properties.password

solver_aero_connected = pyfluent.SolverAero.from_connection(
ip=ip, port=port, password=password
)
assert solver_aero_connected.is_server_healthy()

solver_aero.exit()
solver_aero_connected.exit()

meshing = pyfluent.Meshing.from_install()
assert meshing.is_server_healthy()

ip = meshing.connection_properties.ip
port = meshing.connection_properties.port
password = meshing.connection_properties.password

meshing_connected = pyfluent.Meshing.from_connection(
ip=ip, port=port, password=password
)
assert meshing_connected.is_server_healthy()

meshing.exit()
meshing_connected.exit()


def test_new_launch_fluent_api_from_container():
import ansys.fluent.core as pyfluent
Expand Down
Loading