combined exchange.buy and exchange.sell, Adding dummy mock to create_order in tests in test_freqtradebot

This commit is contained in:
Sam Germain
2021-07-24 19:30:34 -06:00
parent a7b8de92a3
commit 25c527ee67
7 changed files with 200 additions and 143 deletions

View File

@@ -857,7 +857,7 @@ def test_rpcforcebuy(mocker, default_conf, ticker, fee, limit_buy_order_open) ->
get_balances=MagicMock(return_value=ticker),
fetch_ticker=ticker,
get_fee=fee,
buy=buy_mm
create_order=buy_mm
)
freqtradebot = get_patched_freqtradebot(mocker, default_conf)