Skip to content

Commit db37dae

Browse files
authored
[SaaS-489] Fix integration test (#39)
* fix test * fix test * change rc version * fix test
1 parent de8c46a commit db37dae

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

libs/upstage/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "langchain-upstage"
3-
version = "0.4.0rc1"
3+
version = "0.4.0rc2"
44
description = "An integration package connecting Upstage and LangChain"
55
authors = []
66
readme = "README.md"

libs/upstage/tests/integration_tests/test_document_parse.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ def test_document_parse(
4848
)
4949
documents = loader.load()
5050
if split == "element":
51-
assert len(documents) == 15
51+
if ocr == "auto":
52+
assert len(documents) == 14
53+
else:
54+
assert len(documents) == 15
5255
else:
5356
assert len(documents) == 1

0 commit comments

Comments
 (0)