From b63c61d4ef906929d1fd7e183fd16f732f622f4c Mon Sep 17 00:00:00 2001 From: Jason Marechal Date: Mon, 25 Jul 2022 14:10:06 +0200 Subject: [PATCH] Fix python ? --- tests/end_to_end/examples/example_test.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/end_to_end/examples/example_test.py b/tests/end_to_end/examples/example_test.py index d01f059cb8..97c2958fdf 100644 --- a/tests/end_to_end/examples/example_test.py +++ b/tests/end_to_end/examples/example_test.py @@ -30,7 +30,7 @@ def remove_outputs(study_path): shutil.rmtree(f) -def launch_xpansion(install_dir, study_path, method, allow_run_as_root=False): +def launch_xpansion(install_dir, study_path, method, allow_run_as_root=False, construct_all_problems=True): # Clean study output remove_outputs(study_path) @@ -48,7 +48,9 @@ def launch_xpansion(install_dir, study_path, method, allow_run_as_root=False): "--step", "full", "-n", - "2" + "2", + f"--construct_all_problems", + f"{str(construct_all_problems)}", ] if (allow_run_as_root == True): command.append("--allow-run-as-root")