Rename stoploss() to create_stoploss()

This commit is contained in:
Matthias
2023-02-14 20:42:08 +01:00
parent 6e55a873b3
commit 3397e47ccf
10 changed files with 81 additions and 81 deletions

View File

@@ -56,7 +56,7 @@ def test_may_execute_exit_stoploss_on_exchange_multi(default_conf, ticker, fee,
[ExitCheckTuple(exit_type=ExitType.EXIT_SIGNAL)]]
)
cancel_order_mock = MagicMock()
mocker.patch('freqtrade.exchange.Binance.stoploss', stoploss)
mocker.patch('freqtrade.exchange.Binance.create_stoploss', stoploss)
mocker.patch.multiple(
'freqtrade.exchange.Exchange',
fetch_ticker=ticker,