test: update test for new logic

This commit is contained in:
Matthias
2025-07-26 09:48:12 +02:00
parent 9873a862e0
commit 300a866aac

View File

@@ -2506,6 +2506,8 @@ def test_refresh_latest_ohlcv_cache(mocker, default_conf, candle_type, time_mach
time_machine.move_to(start + timedelta(hours=99, minutes=30))
exchange = get_patched_exchange(mocker, default_conf)
exchange._set_startup_candle_count(default_conf)
mocker.patch(f"{EXMS}.ohlcv_candle_limit", return_value=100)
assert exchange._startup_candle_count == 0