Ensure no None status is passed from "create_order"

This commit is contained in:
Matthias
2023-09-20 20:01:51 +02:00
parent 8600ae0387
commit ddb0ae10b4
2 changed files with 4 additions and 0 deletions

View File

@@ -1447,6 +1447,7 @@ def test_buy_considers_time_in_force(default_conf, mocker, exchange_name):
assert 'id' in order
assert 'info' in order
assert order['status'] == 'open'
assert order['id'] == order_id
assert api_mock.create_order.call_args[0][0] == 'ETH/BTC'
assert api_mock.create_order.call_args[0][1] == order_type