style: ruff format
This commit is contained in:
@@ -65,9 +65,7 @@ class TestCCXTExchange:
|
|||||||
pytest.skip("No expected candle count for exchange")
|
pytest.skip("No expected candle count for exchange")
|
||||||
|
|
||||||
candle_type = (
|
candle_type = (
|
||||||
CandleType.FUTURES
|
CandleType.FUTURES if exchange_params.get("futures_only") else CandleType.SPOT
|
||||||
if exchange_params.get("futures_only")
|
|
||||||
else CandleType.SPOT
|
|
||||||
)
|
)
|
||||||
assert exch.ohlcv_candle_limit("1m", candle_type) == expected_count
|
assert exch.ohlcv_candle_limit("1m", candle_type) == expected_count
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user