Further test lookahead_helpers

This commit is contained in:
Matthias
2023-05-20 11:51:46 +02:00
parent ceddcd9242
commit e183707979
2 changed files with 39 additions and 1 deletions

View File

@@ -116,6 +116,11 @@ class LookaheadAnalysisSubFunctions:
# unify --strategy and --strategy_list to one list
if not (strategy_list := config.get('strategy_list', [])):
if config.get('strategy') is None:
raise OperationalException(
"No Strategy specified. Please specify a strategy via --strategy or "
"--strategy_list"
)
strategy_list = [config['strategy']]
# check if strategies can be properly loaded, only check them if they can be.