Skip to content

test: Add test to check PyFluent launched PyConsole by default. #4371

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
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/4371.test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add test to check PyFluent launched PyConsole by default.
8 changes: 8 additions & 0 deletions tests/test_launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -753,3 +753,11 @@ def test_warning_for_deprecated_compose_env_vars(monkeypatch):
monkeypatch.setattr(pyfluent.config, "use_podman_compose", True)
with pytest.warns(PyFluentDeprecationWarning):
ComposeConfig()


@pytest.mark.standalone
@pytest.mark.fluent_version(">=25.1")
def test_default_launch_mode_is_py():
fluent_launch_string, _ = pyfluent.launch_fluent(dry_run=True)
assert "-py" in fluent_launch_string

Loading