From 63819fa7e045c313dfcb14a2a22b524cd02cef7d Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 28 Apr 2026 20:54:04 +0200 Subject: [PATCH] test: update test for unwatch_ohlcv adjustment Co-authored-by: Copilot --- tests/exchange/test_exchange_ws.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/exchange/test_exchange_ws.py b/tests/exchange/test_exchange_ws.py index ef431d9a4..315f3ef5f 100644 --- a/tests/exchange/test_exchange_ws.py +++ b/tests/exchange/test_exchange_ws.py @@ -167,6 +167,7 @@ async def test_exchangews_ohlcv(mocker, time_machine, caplog): ccxt_object.un_watch_ohlcv_for_symbols = AsyncMock(side_effect=[NotSupported, ValueError]) ccxt_object.watch_ohlcv = AsyncMock(side_effect=controlled_sleeper) + ccxt_object.has = {"unWatchOHLCVForSymbols": True} ccxt_object.close = AsyncMock() time_machine.move_to("2024-11-01 01:00:02 +00:00")