Skip to content

Commit 5f258aa

Browse files
committed
test_integration.py: clarify comments
1 parent 3bc2d5a commit 5f258aa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

integration-tests/tests/test_integration.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -756,11 +756,13 @@ async def test_agent_respects_market_hours(self, client: PythAgentClient):
756756
await client.update_price(price_account, 42, 2, "trading")
757757
time.sleep(2)
758758

759-
# Send another "update_price" request to trigger aggregation
759+
# Send another update_price request to "trigger" aggregation
760+
# (aggregation would happen if market hours were to fail, but
761+
# we want to catch that happening if there's a problem)
760762
await client.update_price(price_account, 81, 1, "trading")
761763
time.sleep(2)
762764

763-
# Confirm that the price account has been updated with the values from the first "update_price" request
765+
# Confirm that the price account has not been updated
764766
final_product_state = await client.get_product(product_account)
765767

766768
final_price_account = final_product_state["price_accounts"][0]

0 commit comments

Comments
 (0)