Skip to content

Commit d060e26

Browse files
MuddyHopesanders41
andauthored
Update tests/client/test_client_multi_search_meilisearch.py
Co-authored-by: Paul Sanders <[email protected]>
1 parent 59f2098 commit d060e26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/client/test_client_multi_search_meilisearch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ def test_multi_search_with_federation_options(client, index_with_documents):
7373
"federationOptions": {"weight": 0.99}}], {"limit": 2})
7474

7575
assert "results" not in response
76-
assert response["hits"][0]["_federation"]["indexUid"] == INDEX_UID
7776
assert isinstance(response["hits"], list)
78-
assert response["hits"][0]["_federation"]["weightedRankingScore"] >= 0.99
7977
assert len(response["hits"]) == 2
78+
assert response["hits"][0]["_federation"]["indexUid"] == INDEX_UID
79+
assert response["hits"][0]["_federation"]["weightedRankingScore"] >= 0.99
8080
assert response["limit"] == 2
8181
assert response["offset"] == 0

0 commit comments

Comments
 (0)