docling/docling
Cesar Berrospi Ramis 1ac010354f
test: avoid testing exact JSON (#1027)
* test: avoid testing exact JSON

Avoid testing exact JSON output in html and xml backends.
Reuse the JSON verify helper function among backend test files.
Improve type annotations in html backend.

Signed-off-by: Cesar Berrospi Ramis <75900930+ceberam@users.noreply.github.com>

* Update tests/test_backend_patent_uspto.py

Co-authored-by: Michele Dolfi <97102151+dolfim-ibm@users.noreply.github.com>
Signed-off-by: Cesar Berrospi Ramis <75900930+ceberam@users.noreply.github.com>

---------

Signed-off-by: Cesar Berrospi Ramis <75900930+ceberam@users.noreply.github.com>
Co-authored-by: Michele Dolfi <97102151+dolfim-ibm@users.noreply.github.com>
2025-02-20 16:20:07 +01:00
..
backend test: avoid testing exact JSON (#1027) 2025-02-20 16:20:07 +01:00
chunking feat: expose new hybrid chunker, update docs (#384) 2024-12-09 08:28:29 +01:00
cli feat: Introduce the enable_remote_services option to allow remote connections while processing (#941) 2025-02-12 15:18:01 +01:00
datamodel feat: Support cuda:n GPU device allocation (#694) 2025-02-17 11:31:13 +01:00
models fix: Runtime error when Pandas Series is not always of string type (#1024) 2025-02-20 15:41:41 +01:00
pipeline feat: Introduce the enable_remote_services option to allow remote connections while processing (#941) 2025-02-12 15:18:01 +01:00
utils feat: Support cuda:n GPU device allocation (#694) 2025-02-17 11:31:13 +01:00
__init__.py Initial commit 2024-07-15 09:42:42 +02:00
document_converter.py feat(xml-jats): parse XML JATS documents (#967) 2025-02-17 10:43:31 +01:00
exceptions.py feat: Introduce the enable_remote_services option to allow remote connections while processing (#941) 2025-02-12 15:18:01 +01:00
py.typed fix: Add py.typed marker file (#531) 2024-12-06 13:42:14 +01:00