Fix backend tests

Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
This commit is contained in:
Christoph Auer 2024-08-27 16:25:36 +02:00
commit 93bdaf063b
3 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ name: "Run CI"
on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
types: [opened, reopened]
push:
branches:
- "**"
@ -25,4 +25,4 @@ jobs:
# - uses: ./.github/actions/setup-poetry
# - name: Build docs
# run: poetry run mkdocs build --verbose --clean

View File

@ -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):

View File

@ -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):