test(reindex): stub db.mark_indexed in FU-1/FU-2a ingest fixtures (FU-3 interaction)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-30 22:07:18 +00:00
parent c7c7a1e119
commit c8de42150e
2 changed files with 4 additions and 0 deletions

View File

@@ -110,6 +110,9 @@ def test_ingest_calls_recompute_searchable(monkeypatch, tmp_path):
async def _recompute(cid): calls["recompute"].append(cid)
monkeypatch.setattr(ingest.db, "recompute_searchable", _recompute)
async def _mark_indexed(cid): return None
monkeypatch.setattr(ingest.db, "mark_indexed", _mark_indexed)
monkeypatch.setattr(ingest.config, "PARENT_DOC_RETRIEVAL_ENABLED", False)
monkeypatch.setattr(ingest.config, "MULTIMODAL_ENABLED", False)