test: fix failing test

This commit is contained in:
Matthias
2025-07-13 15:41:00 +02:00
parent 3eaa862caf
commit 24f904efc4

View File

@@ -142,7 +142,7 @@ def test_freqai_backtest_consistent_timerange(mocker, freqai_conf):
gbs = mocker.patch("freqtrade.optimize.backtesting.generate_backtest_stats") gbs = mocker.patch("freqtrade.optimize.backtesting.generate_backtest_stats")
freqai_conf["candle_type_def"] = CandleType.FUTURES freqai_conf["trading_mode"] = "futures"
freqai_conf.get("exchange", {}).update({"pair_whitelist": ["XRP/USDT:USDT"]}) freqai_conf.get("exchange", {}).update({"pair_whitelist": ["XRP/USDT:USDT"]})
freqai_conf.get("freqai", {}).get("feature_parameters", {}).update( freqai_conf.get("freqai", {}).get("feature_parameters", {}).update(
{"include_timeframes": ["5m", "1h"], "include_corr_pairlist": []} {"include_timeframes": ["5m", "1h"], "include_corr_pairlist": []}