mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-02 18:13:04 +00:00
test: update tests to new behavior
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user