mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-19 18:45:15 +02:00
test: refactor Gmail indexer tests to utilize ComposioService and hybrid chunking
This commit is contained in:
parent
a0f2563dc3
commit
cb9a0f327c
3 changed files with 44 additions and 24 deletions
|
|
@ -160,6 +160,10 @@ def patched_chunk_text(monkeypatch) -> MagicMock:
|
|||
"app.indexing_pipeline.indexing_pipeline_service.chunk_text",
|
||||
mock,
|
||||
)
|
||||
monkeypatch.setattr(
|
||||
"app.indexing_pipeline.indexing_pipeline_service.chunk_text_hybrid",
|
||||
mock,
|
||||
)
|
||||
return mock
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue