mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-20 05:50:36 +00:00
test: add more sleep
This commit is contained in:
@@ -107,8 +107,11 @@ async def test_exchangews_ohlcv(mocker, time_machine):
|
||||
("ETH/BTC", "1m", CandleType.SPOT),
|
||||
}
|
||||
# Cleanup happened.
|
||||
await asyncio.sleep(0.1)
|
||||
await asyncio.sleep(0.5)
|
||||
exchange_ws.schedule_ohlcv("ETH/BTC", "1m", CandleType.SPOT)
|
||||
assert exchange_ws._klines_watching == {
|
||||
("ETH/BTC", "1m", CandleType.SPOT),
|
||||
}
|
||||
assert exchange_ws._klines_scheduled == {
|
||||
("ETH/BTC", "1m", CandleType.SPOT),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user