Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusconjeaud committed Aug 14, 2024
1 parent 9114c26 commit d78da5e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions test/async_/test_match_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,9 @@ async def test_double_traverse():

results = [node async for node in qb._execute()]
assert len(results) == 2
assert results[0].name == "Decafe"
assert results[1].name == "Nescafe plus"
names = [n.name for n in results]
assert "Decafe" in names
assert "Nescafe plus" in names


@mark_async_test
Expand Down
5 changes: 3 additions & 2 deletions test/sync_/test_match_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,9 @@ def test_double_traverse():

results = [node for node in qb._execute()]
assert len(results) == 2
assert results[0].name == "Decafe"
assert results[1].name == "Nescafe plus"
names = [n.name for n in results]
assert "Decafe" in names
assert "Nescafe plus" in names


@mark_sync_test
Expand Down

0 comments on commit d78da5e

Please sign in to comment.