test: update tests to new behavior

This commit is contained in:
Matthias
2025-11-03 20:18:03 +01:00
parent 74a18bdb11
commit ab28e43050
2 changed files with 3 additions and 4 deletions

View File

@@ -928,8 +928,7 @@ def test_auto_hyperopt_interface(default_conf):
PairLocks.timeframe = default_conf["timeframe"]
strategy = StrategyResolver.load_strategy(default_conf)
strategy.ft_bot_start()
with pytest.raises(OperationalException):
next(strategy.enumerate_parameters("deadBeef"))
assert list(strategy.enumerate_parameters("deadBeef")) == []
assert strategy.buy_rsi.value == strategy.buy_params["buy_rsi"]
# PlusDI is NOT in the buy-params, so default should be used