Skip to content

Commit 3c9f16a

Browse files
committed
fix: test case issues on Windows
1 parent 8534e6d commit 3c9f16a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/qdrant-loader-mcp-server/tests/integration/test_real_end_to_end_phase2_3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ def mock_qdrant_client(self):
147147
}
148148
mock_results.append(mock_result)
149149

150-
# Mock search method
151-
mock_client.search.return_value = mock_results
150+
# Mock search method - must be async since real code uses await
151+
mock_client.search = AsyncMock(return_value=mock_results)
152152

153153
# Mock scroll method for BM25 keyword search (returns all documents for corpus)
154154
mock_scroll_results = []

0 commit comments

Comments
 (0)