Skip to content
7 changes: 3 additions & 4 deletions tests/pipelines/test_multimodal_pipelines.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import os.path as osp
import os
import pytest

PDF_FILE_PATH = osp.abspath(
osp.join(osp.dirname(__file__), "assets", "Multimodal_sample_file.pdf"))
PDF_FILE_PATH = os.path.dirname(__file__) + "/assets/Multimodal_sample_file.pdf"


@pytest.mark.skip(reason="Need additional build dependencies")
class TestMultimodalPipelines:
"""Tests for pipeline transformations."""

Expand Down Expand Up @@ -66,6 +64,7 @@ def test_pipeline_run_loader(self,):
assert len(elements) == 14
assert elements.elements[0].metadata.to_dict()['filename'] == 'Multimodal_sample_file.pdf'

@pytest.mark.skip(reason="Need additional setup")
def test_pipeline_summarize(self,):
"""Tests for pipeline run with summarizer"""
import os
Expand Down
1 change: 1 addition & 0 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
pytest==7.4.1
pytest-xdist==2.5.0
pdf2image==1.17.0
Loading