Skip to content

Commit

Permalink
Remove Sirius direct call : cucumber is adapted to current changes (C…
Browse files Browse the repository at this point in the history
…I just failed on cucumber step)
  • Loading branch information
guilpier-code committed Oct 4, 2024
1 parent 1bb4a6c commit 8b5f1cc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions src/tests/cucumber/features/steps/simulator_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ def activate_simu_outputs(context):

def build_antares_solver_command(context):
command = [SOLVER_PATH, "-i", str(context.study_path)]
if context.use_ortools:
command.append('--use-ortools')
command.append('--ortools-solver=' + context.ortools_solver)
command.append('--solver=' + context.ortools_solver)
if context.named_mps_problems:
command.append('--named-mps-problems')
if context.parallel:
Expand Down
1 change: 0 additions & 1 deletion src/tests/cucumber/features/steps/steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ def study_path_is(context, string):

@when('I run antares simulator')
def run_antares(context):
context.use_ortools = True
context.ortools_solver = "sirius"
context.named_mps_problems = False
context.parallel = False
Expand Down

0 comments on commit 8b5f1cc

Please sign in to comment.