(backend) add tests for document import feature

Added comprehensive tests covering DocSpec converter service,
converter orchestration, and document creation with file uploads.

Tests validate DOCX and Markdown conversion workflows, error
handling, service availability, and edge cases including empty
files and Unicode filenames.

Signed-off-by: Stephan Meijer <me@stephanmeijer.com>
This commit is contained in:
Stephan Meijer
2025-12-05 22:54:40 +01:00
committed by Anthony LC
parent 3480604359
commit 767710231d
10 changed files with 636 additions and 45 deletions

View File

@@ -710,10 +710,7 @@ class Base(Configuration):
)
# DocSpec API microservice
DOCSPEC_API_URL = values.Value(
environ_name="DOCSPEC_API_URL",
environ_prefix=None
)
DOCSPEC_API_URL = values.Value(environ_name="DOCSPEC_API_URL", environ_prefix=None)
# Conversion endpoint
CONVERSION_API_ENDPOINT = values.Value(