Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
inahjeon committed Nov 29, 2024
1 parent 9dfaf99 commit 5b031da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libs/upstage/tests/integration_tests/test_document_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ def test_document_parse(
base64_encoding=[base64_encoding],
)
documents = loader.load()
if split == "element":
if split == "element" and ocr == "auto":
assert len(documents) == 14
if split == "element" and ocr == "force":
assert len(documents) == 15
else:
assert len(documents) == 1

0 comments on commit 5b031da

Please sign in to comment.