mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-06 22:12:12 +02:00
refactor: simplify and clarify documentation in document upload integration tests
This commit is contained in:
parent
7c09958ddc
commit
fd032f3709
1 changed files with 4 additions and 10 deletions
|
|
@ -1,16 +1,10 @@
|
||||||
"""
|
"""
|
||||||
Integration tests for manual document upload - HTTP API layer.
|
Integration tests for the document upload HTTP API.
|
||||||
|
|
||||||
Each test verifies a distinct user-facing behavior through the public HTTP
|
Covers the API contract, auth, duplicate detection, and error handling.
|
||||||
endpoints. Pipeline internals (indexing, chunking, embedding) are covered by
|
Pipeline internals are tested in the ``indexing_pipeline`` suite.
|
||||||
the ``indexing_pipeline`` test suite; this module focuses on the API contract,
|
|
||||||
error handling, auth, and cross-cutting concerns like duplicate detection.
|
|
||||||
|
|
||||||
External boundaries mocked: LLM summarization, text embedding, text chunking,
|
Requires PostgreSQL + pgvector.
|
||||||
Redis heartbeat. Task dispatch is swapped via DI (InlineTaskDispatcher).
|
|
||||||
|
|
||||||
Prerequisites:
|
|
||||||
- PostgreSQL + pgvector
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue