Skip to content

Commit 7da82ce

Browse files
committed
test: fix kb helper patch target after faiss lazy import
1 parent 96c4a51 commit 7da82ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/unit/test_kb_manager_resilience.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ async def test_ensure_vec_db_clears_stale_init_error(
253253
mock_vec_db.close = AsyncMock()
254254

255255
with patch(
256-
"astrbot.core.knowledge_base.kb_helper.FaissVecDB",
256+
"astrbot.core.db.vec_db.faiss_impl.vec_db.FaissVecDB",
257257
return_value=mock_vec_db,
258258
):
259259
# Execute _ensure_vec_db

0 commit comments

Comments
 (0)