test_execute_entry fixed
This commit is contained in:
parent
1f3d3d87f6
commit
183f85efe3
@ -929,6 +929,7 @@ def test_execute_entry(mocker, default_conf_usdt, fee, limit_order,
|
|||||||
assert trade.open_rate_requested == 10
|
assert trade.open_rate_requested == 10
|
||||||
|
|
||||||
# In case of custom entry price not float type
|
# In case of custom entry price not float type
|
||||||
|
freqtrade.exchange.get_maintenance_ratio_and_amt = MagicMock(return_value=(0.01, 0.01))
|
||||||
freqtrade.exchange.name = exchange_name
|
freqtrade.exchange.name = exchange_name
|
||||||
order['status'] = 'open'
|
order['status'] = 'open'
|
||||||
order['id'] = '5568'
|
order['id'] = '5568'
|
||||||
|
Loading…
Reference in New Issue
Block a user