Fixes batch 1

This commit is contained in:
Pavel committed 2026-09-02 23:42:35 +04:00
1 parent 96b878217d
commit 47eb92fc42
12 files changed
+515 -46

No files matched your search

+3
View File
@@ -165,6 +165,9 @@ def docling_engine(monkeypatch):
from application.core.settings import settings
monkeypatch.setattr(settings, "DOC_PARSER_ENGINE", "docling")
# A developer .env with OCR on (and OCR_BACKEND=native) would otherwise
# swap the native OCR parser in for the docling one these tests expect.
monkeypatch.setattr(settings, "OCR_ENABLED", False)
def test_extractor_defaults_to_docling_for_pdf(docling_engine):