adapt tests to use stoploss_* methods

This commit is contained in:
Matthias
2020-03-25 17:02:47 +01:00
parent cf50c1cb7b
commit 3174f37b41
2 changed files with 20 additions and 17 deletions

View File

@@ -62,8 +62,8 @@ def test_may_execute_sell_stoploss_on_exchange_multi(default_conf, ticker, fee,
get_fee=fee,
amount_to_precision=lambda s, x, y: y,
price_to_precision=lambda s, x, y: y,
get_order=stoploss_order_mock,
cancel_order=cancel_order_mock,
get_stoploss_order=stoploss_order_mock,
cancel_stoploss_order=cancel_order_mock,
)
mocker.patch.multiple(