fix: polish sanitizer and repair messaging

Agent-Logs-Url: https://github.com/MemPalace/mempalace/sessions/775f2fc4-3051-462e-8586-6d694b55da0d

Co-authored-by: igorls <4753812+igorls@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-12 22:24:41 +00:00
committed by Igor Lins e Silva
parent d2d4e62543
commit 248ecd98f1
3 changed files with 16 additions and 5 deletions
+4 -2
View File
@@ -22,8 +22,10 @@ def test_migrate_aborts_without_confirmation(tmp_path, capsys):
palace_dir.mkdir()
(palace_dir / "chroma.sqlite3").write_text("db")
mock_chromadb = SimpleNamespace(__version__="0.6.0", PersistentClient=MagicMock())
mock_chromadb.PersistentClient.side_effect = Exception("unreadable")
mock_chromadb = SimpleNamespace(
__version__="0.6.0",
PersistentClient=MagicMock(side_effect=Exception("unreadable")),
)
with (
patch.dict("sys.modules", {"chromadb": mock_chromadb}),