Skip to content

Commit 1b1aa9d

Browse files
fix: fix mineru_parser tests
1 parent 9217306 commit 1b1aa9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration_tests/models/reader/test_mineru_parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ def test_parse_pdf():
2525

2626
first = text_blocks[0]
2727
assert "text" in first
28-
assert isinstance(first["text"], str)
29-
assert first["text"].strip(), "Empty text content"
28+
assert isinstance(first["content"], str)
29+
assert first["content"].strip(), "Empty text content"
3030

3131

3232
def test_empty_pdf(tmp_path: Path) -> None:

0 commit comments

Comments
 (0)