Skip to content

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

test: fix assertion and path

Sidney23360dd005dd564
diff --git a/tests/unittest/test_e2e.py b/tests/unittest/test_e2e.py
index 8bcf6d3f..088d598a 100644
--- a/tests/unittest/test_e2e.py
+++ b/tests/unittest/test_e2e.py
@@ -36,7 +36,7 @@ def test_pipeline_with_two_config():
if doc_path.suffix in pdf_suffixes + image_suffixes:
doc_path_list.append(doc_path)
- os.environ["MINERU_MODEL_SOURCE"] = "local"
+ # os.environ["MINERU_MODEL_SOURCE"] = "modelscope"
pdf_file_names = []
pdf_bytes_list = []
@@ -108,7 +108,7 @@ def test_vlm_transformers_with_default_config():
if doc_path.suffix in pdf_suffixes + image_suffixes:
doc_path_list.append(doc_path)
- os.environ["MINERU_MODEL_SOURCE"] = "local"
+ # os.environ["MINERU_MODEL_SOURCE"] = "modelscope"
pdf_file_names = []
pdf_bytes_list = []