Skip to content

Commit

Permalink
test(frontend-python): Fix default value and option for the optimizat…
Browse files Browse the repository at this point in the history
…io strategy to test
  • Loading branch information
BourgerieQuentin committed Aug 13, 2024
1 parent 53b5f01 commit b86def6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontends/concrete-python/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def pytest_addoption(parser):
parser.addoption(
"--strategy",
type=str,
default=None,
default="multi",
action="store",
help="Which optimization strategy to use in execution tests (v0, mono or multi)",
)
Expand Down Expand Up @@ -95,7 +95,7 @@ def pytest_sessionstart(session):
OPTIMIZATION_STRATEGY = fhe.ParameterSelectionStrategy.V0
elif strategy == "multi":
OPTIMIZATION_STRATEGY = fhe.ParameterSelectionStrategy.MULTI
else:
elif strategy == "mono":
OPTIMIZATION_STRATEGY = fhe.ParameterSelectionStrategy.MONO

USE_GPU = session.config.getoption("--use_gpu", default=False)
Expand Down

0 comments on commit b86def6

Please sign in to comment.