Skip to content
Merged
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
6 changes: 6 additions & 0 deletions tests/test_launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

def test_manual_fluent_version_setting():
"""Test case for setting up the Ansys / Fluent version via program"""

initial_version_info = FLUENT_VERSION[0]

pyfluent.set_ansys_version("23.1")
assert FLUENT_VERSION[0] == "23.1"

Expand All @@ -19,6 +22,9 @@ def test_manual_fluent_version_setting():
with pytest.raises(RuntimeError):
pyfluent.set_ansys_version(22.1)

# Resets the global variable to its original state
pyfluent.set_ansys_version(initial_version_info)


def test_manual_fluent_path_setting():
"""Test case for setting up the path to fluent.exe via program"""
Expand Down