mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-26 20:14:47 +00:00
Fix backend tests
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
This commit is contained in:
commit
93bdaf063b
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -2,7 +2,7 @@ name: "Run CI"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, reopened, synchronize, ready_for_review]
|
||||
types: [opened, reopened]
|
||||
push:
|
||||
branches:
|
||||
- "**"
|
||||
|
@ -13,7 +13,7 @@ from docling.document_converter import DocumentConverter
|
||||
|
||||
@pytest.fixture
|
||||
def test_doc_path():
|
||||
return Path("./data/2206.01062.pdf")
|
||||
return Path("./tests/data/2206.01062.pdf")
|
||||
|
||||
|
||||
def test_get_text_from_rect(test_doc_path):
|
||||
|
@ -11,7 +11,7 @@ from docling.datamodel.base_models import BoundingBox
|
||||
|
||||
@pytest.fixture
|
||||
def test_doc_path():
|
||||
return Path("./data/2206.01062.pdf")
|
||||
return Path("./tests/data/2206.01062.pdf")
|
||||
|
||||
|
||||
def test_get_text_from_rect(test_doc_path):
|
||||
|
Loading…
Reference in New Issue
Block a user