Skip to content

Commit

Permalink
Fix python ?
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonMarechal25 committed Jul 25, 2022
1 parent 605fc28 commit b63c61d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/end_to_end/examples/example_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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")
Expand Down

0 comments on commit b63c61d

Please sign in to comment.