Add TODO-lev comment in test_handle_stoploss_on_exchange

This commit is contained in:
Sam Germain 2022-02-26 08:42:18 -06:00
parent 499e21517b
commit b363940baf

View File

@ -1128,6 +1128,9 @@ def test_handle_stoploss_on_exchange(mocker, default_conf_usdt, fee, caplog, is_
assert trade.is_open is False
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(
'freqtrade.exchange.Binance.stoploss',
side_effect=ExchangeError()