Skip to content

Commit

Permalink
test_handle_cancel_exit_limit - partially fill by half
Browse files Browse the repository at this point in the history
  • Loading branch information
xmatthias committed Sep 7, 2023
1 parent bae4aba commit 95d8c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_freqtradebot.py
Original file line number Diff line number Diff line change
Expand Up @@ -3539,7 +3539,7 @@ def test_handle_cancel_exit_limit(mocker, default_conf_usdt, fee, is_short,

send_msg_mock.reset_mock()

order['filled'] = 1
order['filled'] = amount * 0.5 * leverage
assert freqtrade.handle_cancel_exit(trade, order, reason)
assert send_msg_mock.call_count == 1
assert (send_msg_mock.call_args_list[0][0][0]['reason']
Expand Down

0 comments on commit 95d8c45

Please sign in to comment.