Skip to content

Commit

Permalink
try a test run without sorting vector search results
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelch-spike committed Oct 11, 2024
1 parent 9fec62f commit 6a30658
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/standard/aio/test_vector_client_search_by_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ async def test_vector_search_by_key(
exclude_fields=test_case.exclude_fields,
)

assert list.sort(results) == list.sort(test_case.expected_results)
assert results == test_case.expected_results

tasks = []
for key in test_case.record_data:
Expand Down
2 changes: 1 addition & 1 deletion tests/standard/aio/test_vector_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ async def test_vector_search(
exclude_fields=test_case.exclude_fields,
)

assert list.sort(results) == list.sort(test_case.expected_results)
assert results == test_case.expected_results

tasks = []
for key in test_case.record_data:
Expand Down
2 changes: 1 addition & 1 deletion tests/standard/sync/test_vector_client_search_by_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def test_vector_search_by_key(
exclude_fields=test_case.exclude_fields,
)

assert list.sort(results) == list.sort(test_case.expected_results)
assert results == test_case.expected_results

for key in test_case.record_data:
session_vector_client.delete(
Expand Down
2 changes: 1 addition & 1 deletion tests/standard/sync/test_vector_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def test_vector_search(
exclude_fields=test_case.exclude_fields,
)

assert list.sort(results) == list.sort(test_case.expected_results)
assert results == test_case.expected_results

for key in test_case.record_data:
session_vector_client.delete(
Expand Down

0 comments on commit 6a30658

Please sign in to comment.