Reset open_order_id after trade cancel

Part of #7526
This commit is contained in:
Matthias
2022-10-04 10:08:58 +00:00
parent 016e438468
commit eb8eebe492
2 changed files with 5 additions and 2 deletions

View File

@@ -3178,6 +3178,7 @@ def test_handle_cancel_exit_limit(mocker, default_conf_usdt, fee) -> None:
assert send_msg_mock.call_count == 1
assert trade.close_rate is None
assert trade.exit_reason is None
assert trade.open_order_id is None
send_msg_mock.reset_mock()