Skip to content

Commit 5e0f357

Browse files
authored
Drozdziak1/version bump and comments (#96)
* test_integration.py: clarify comments * Cargo.toml: Bump version to v2.4.0
1 parent 3bc2d5a commit 5e0f357

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyth-agent"
3-
version = "2.3.1"
3+
version = "2.4.0"
44
edition = "2021"
55

66
[[bin]]

integration-tests/tests/test_integration.py

Lines changed: 4 additions & 2 deletions
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)