mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-20 14:00:38 +00:00
refactor: simplify ws exchange handling
This commit is contained in:
@@ -599,7 +599,7 @@ def exchange_ws(request, exchange_conf, exchange_mode, class_mocker):
|
||||
else:
|
||||
pytest.skip("Exchange does not support futures.")
|
||||
|
||||
if not exchange._has_watch_ohlcv:
|
||||
if not exchange._exchange_ws:
|
||||
pytest.skip("Exchange does not support watch_ohlcv.")
|
||||
yield exchange, name, pair
|
||||
exchange.close()
|
||||
|
||||
Reference in New Issue
Block a user