From 62dd0db9396d03e57660c9cf11d23a5a437237a8 Mon Sep 17 00:00:00 2001 From: Emilio Marinone Date: Wed, 11 Mar 2026 06:49:18 +0100 Subject: [PATCH] fix: update qdrant client tests to expect timeout=60 parameter The get_qdrant_client() function passes timeout=60 to QdrantClient, but the tests were not expecting this argument. Co-Authored-By: Claude Sonnet 4.6 --- tests/unit/test_qdrant_client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unit/test_qdrant_client.py b/tests/unit/test_qdrant_client.py index f2ca9a3..f3e76c2 100644 --- a/tests/unit/test_qdrant_client.py +++ b/tests/unit/test_qdrant_client.py @@ -14,7 +14,7 @@ def test_get_qdrant_client_no_api_key(monkeypatch): mock_client_cls.return_value = MagicMock() get_qdrant_client() - mock_client_cls.assert_called_once_with(url="http://localhost:6333") + mock_client_cls.assert_called_once_with(url="http://localhost:6333", timeout=60) def test_get_qdrant_client_with_api_key(monkeypatch): @@ -28,6 +28,7 @@ def test_get_qdrant_client_with_api_key(monkeypatch): mock_client_cls.assert_called_once_with( url="https://xyz.qdrant.io:6333", + timeout=60, api_key="secret-cloud-key", )