Skip to content

Commit 87ea289

Browse files
committed
chore: adapt test assertions
1 parent a529118 commit 87ea289

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

tests/client/indexer/grpc/test_indexer_grpc_derivative_api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,7 @@ async def test_fetch_orders(
604604
"executionType": order.execution_type,
605605
"txHash": order.tx_hash,
606606
"cid": order.cid,
607+
"accountAddress": order.account_address,
607608
},
608609
],
609610
"paging": {
@@ -1110,6 +1111,7 @@ async def test_fetch_subaccount_orders_list(
11101111
"executionType": order.execution_type,
11111112
"txHash": order.tx_hash,
11121113
"cid": order.cid,
1114+
"accountAddress": order.account_address,
11131115
},
11141116
],
11151117
"paging": {

tests/client/indexer/stream_grpc/test_indexer_grpc_derivative_stream.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,7 @@ async def test_stream_orders(
489489
"executionType": order.execution_type,
490490
"txHash": order.tx_hash,
491491
"cid": order.cid,
492+
"accountAddress": order.account_address,
492493
},
493494
"operationType": operation_type,
494495
"timestamp": str(timestamp),
@@ -874,6 +875,7 @@ async def test_stream_positions_v2(
874875
"upnl": position.upnl,
875876
},
876877
"timestamp": str(timestamp),
878+
"operationType": "",
877879
}
878880

879881
first_update = await asyncio.wait_for(positions.get(), timeout=1)

0 commit comments

Comments
 (0)