Skip to content

Commit

Permalink
Fix flaky search anywhere test (#3721)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazoyer authored Jun 27, 2024
1 parent 61ef2e8 commit 57d2716
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/tests/unit/graphql/queries/test_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,5 @@ async def test_search_anywhere_by_string(
node_ids.append(edge["node"]["id"])
node_kinds.append(edge["node"]["kind"])

assert node_ids == [person_john_main.id, person_jane_main.id]
assert node_kinds == [person_john_main.get_kind(), person_jane_main.get_kind()]
assert sorted(node_ids) == sorted([person_john_main.id, person_jane_main.id])
assert sorted(node_kinds) == sorted([person_john_main.get_kind(), person_jane_main.get_kind()])

0 comments on commit 57d2716

Please sign in to comment.