Skip to content

Commit

Permalink
Fix test_filter_open_markets test (#593)
Browse files Browse the repository at this point in the history
  • Loading branch information
kongzii authored Jan 27, 2025
1 parent 7bba967 commit cffe16f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/markets/omen/test_omen_subgraph_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,14 @@ def test_get_bets(


def test_filter_open_markets(omen_subgraph_handler: OmenSubgraphHandler) -> None:
# ToDo
limit = 100

markets = omen_subgraph_handler.get_omen_binary_markets_simple(
limit=limit,
sort_by=SortBy.NEWEST,
filter_by=FilterBy.OPEN,
)
assert len(markets) == limit
assert len(markets) <= limit
for market in markets:
assert market.is_open

Expand Down

0 comments on commit cffe16f

Please sign in to comment.