mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-26 09:16:22 +02:00
test: add should_summarize parameter to file upload adapter tests
This commit is contained in:
parent
23a98d802c
commit
37f76a8533
1 changed files with 2 additions and 0 deletions
|
|
@ -43,6 +43,7 @@ async def test_content_is_summary(db_session, db_search_space, db_user, mocker):
|
|||
search_space_id=db_search_space.id,
|
||||
user_id=str(db_user.id),
|
||||
llm=mocker.Mock(),
|
||||
should_summarize=True,
|
||||
)
|
||||
|
||||
result = await db_session.execute(
|
||||
|
|
@ -96,6 +97,7 @@ async def test_raises_on_indexing_failure(db_session, db_search_space, db_user,
|
|||
search_space_id=db_search_space.id,
|
||||
user_id=str(db_user.id),
|
||||
llm=mocker.Mock(),
|
||||
should_summarize=True,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue