Update tests to merged version

This commit is contained in:
Matthias 2020-09-06 15:27:16 +02:00
parent 5fba446e9a
commit a0fd7f4644
2 changed files with 3 additions and 1 deletions

View File

@ -1765,7 +1765,7 @@ def test_cancel_order_dry_run(default_conf, mocker, exchange_name):
cancel_order = exchange.cancel_order(order_id=order['id'], pair='ETH/BTC')
assert order['id'] == cancel_order['id']
assert order['amount'] == cancel_order['amount']
assert order['pair'] == cancel_order['pair']
assert order['symbol'] == cancel_order['symbol']
assert cancel_order['status'] == 'canceled'

View File

@ -716,11 +716,13 @@ def test_rpc_forcesell(default_conf, ticker, fee, mocker) -> None:
mocker.patch(
'freqtrade.exchange.Exchange.fetch_order',
side_effect=[{
'id': '1234',
'status': 'open',
'type': 'limit',
'side': 'buy',
'filled': filled_amount
}, {
'id': '1234',
'status': 'closed',
'type': 'limit',
'side': 'buy',