Skip to content

Commit

Permalink
[OKX] update test to check "tag" param
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeDSM committed Dec 20, 2023
1 parent 9fcfff8 commit c689648
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/exchanges/test_okx.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ async def test_get_orders_parameters(okx_exchange):
await create_order_tests.create_order_mocked_test_args(
exchange,
exchange_private_post_order_method_name="privatePostTradeBatchOrders",
exchange_request_referral_key="clOrdId",
should_contains=True,
exchange_request_referral_key="tag",
should_contains=False,
result_is_list=True,
post_order_mock_return_value={'data': [{}]})
post_order_mock_return_value={'data': [{}]}
)

0 comments on commit c689648

Please sign in to comment.