Add TODO-lev comment in test_handle_stoploss_on_exchange
This commit is contained in:
parent
499e21517b
commit
b363940baf
@ -1128,6 +1128,9 @@ def test_handle_stoploss_on_exchange(mocker, default_conf_usdt, fee, caplog, is_
|
|||||||
assert trade.is_open is False
|
assert trade.is_open is False
|
||||||
caplog.clear()
|
caplog.clear()
|
||||||
|
|
||||||
|
# TODO-lev: Test 2 identical orders but one with leverage, 1 without, and test that the
|
||||||
|
# leveraged trade is hit, but the other trade is not
|
||||||
|
|
||||||
mocker.patch(
|
mocker.patch(
|
||||||
'freqtrade.exchange.Binance.stoploss',
|
'freqtrade.exchange.Binance.stoploss',
|
||||||
side_effect=ExchangeError()
|
side_effect=ExchangeError()
|
||||||
|
Loading…
Reference in New Issue
Block a user