mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
test: add small wait to reduce test flakyness
This commit is contained in:
@@ -101,6 +101,7 @@ async def test_exchangews_ohlcv(mocker, time_machine):
|
||||
time_machine.shift(timedelta(minutes=5))
|
||||
await asyncio.sleep(0.1)
|
||||
exchange_ws.schedule_ohlcv("ETH/BTC", "1m", CandleType.SPOT)
|
||||
await asyncio.sleep(0.1)
|
||||
# XRP/BTC should be cleaned up.
|
||||
assert exchange_ws._klines_watching == {
|
||||
("ETH/BTC", "1m", CandleType.SPOT),
|
||||
|
||||
Reference in New Issue
Block a user