mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-25 19:44:34 +00:00
tests(HTML): re-enable test_ordered_lists
Re-enable test_ordered_lists regression test for the HTML backend since docling-core now supports ordered lists with custom start value. Signed-off-by: Cesar Berrospi Ramis <75900930+ceberam@users.noreply.github.com>
This commit is contained in:
parent
713d7a3342
commit
dc5dca7d31
@ -14,7 +14,6 @@ from docling_core.types.doc import (
|
|||||||
DocumentOrigin,
|
DocumentOrigin,
|
||||||
GroupItem,
|
GroupItem,
|
||||||
GroupLabel,
|
GroupLabel,
|
||||||
ListItem,
|
|
||||||
TableCell,
|
TableCell,
|
||||||
TableData,
|
TableData,
|
||||||
TextItem,
|
TextItem,
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
from io import BytesIO
|
from io import BytesIO
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
from docling.backend.html_backend import HTMLDocumentBackend
|
from docling.backend.html_backend import HTMLDocumentBackend
|
||||||
from docling.datamodel.base_models import InputFormat
|
from docling.datamodel.base_models import InputFormat
|
||||||
from docling.datamodel.document import (
|
from docling.datamodel.document import (
|
||||||
@ -46,10 +44,6 @@ def test_heading_levels():
|
|||||||
assert found_lvl_1 and found_lvl_2
|
assert found_lvl_1 and found_lvl_2
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.skip(
|
|
||||||
"Temporarily disabled since docling-core>=2.21.0 does not support ordered lists "
|
|
||||||
"with custom start value"
|
|
||||||
)
|
|
||||||
def test_ordered_lists():
|
def test_ordered_lists():
|
||||||
test_set: list[tuple[bytes, str]] = []
|
test_set: list[tuple[bytes, str]] = []
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user