From 2f9c5c6c60ab6adf26b4d344cf1777c6455a2881 Mon Sep 17 00:00:00 2001 From: Mainak Kundu Date: Tue, 17 Dec 2024 13:37:53 -0500 Subject: [PATCH] fix: tests --- tests/test_launcher.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_launcher.py b/tests/test_launcher.py index 410df52030a..b8b8c1633c8 100644 --- a/tests/test_launcher.py +++ b/tests/test_launcher.py @@ -501,7 +501,8 @@ def test_fluent_automatic_transcript(monkeypatch): assert not list(Path(tmp_dir).glob("*.trn")) -def test_standalone_launcher_dry_run(): +def test_standalone_launcher_dry_run(monkeypatch): + monkeypatch.setenv("PYFLUENT_LAUNCH_CONTAINER", "0") fluent_path = r"\x\y\z\fluent.exe" fluent_launch_string, server_info_file_name = pyfluent.launch_fluent( fluent_path=fluent_path, dry_run=True @@ -514,6 +515,7 @@ def test_standalone_launcher_dry_run(): def test_standalone_launcher_dry_run_with_server_info_dir(monkeypatch): + monkeypatch.setenv("PYFLUENT_LAUNCH_CONTAINER", "0") with tempfile.TemporaryDirectory() as tmp_dir: monkeypatch.setenv("SERVER_INFO_DIR", tmp_dir) fluent_path = r"\x\y\z\fluent.exe"