Skip to content

Commit

Permalink
Fix field access
Browse files Browse the repository at this point in the history
  • Loading branch information
mberk committed May 24, 2024
1 parent 6a51276 commit 3a8a1e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_non_prices.py
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ def test_remove_bet_from_runner_book(market_book: dict[str, Any]):
runner_book, price=1.98, size=0.75, available_side=Side.BACK
)
assert new_runner_book.ex.available_to_back[0]["price"] == 1.98
assert new_runner_book["ex"]["availableToBack"][0]["size"] == 0.25
assert new_runner_book.ex.available_to_back[0]["size"] == 0.25


def test_random_from_market_id():
Expand Down

0 comments on commit 3a8a1e4

Please sign in to comment.