Skip to content

Commit f5a188c

Browse files
committed
remove caplog check in integration test
1 parent b008cb5 commit f5a188c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

_test_unstructured_client/integration/test_decorators.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
],
3333
)
3434
def test_integration_split_pdf_has_same_output_as_non_split(
35-
concurrency_level: int, filename: str, expected_ok: bool, strategy: str, caplog
35+
concurrency_level: int, filename: str, expected_ok: bool, strategy: str
3636
):
3737
"""
3838
Tests that output that we get from the split-by-page pdf is the same as from non-split.
@@ -74,7 +74,6 @@ def test_integration_split_pdf_has_same_output_as_non_split(
7474
resp_split = client.general.partition(request=req)
7575
except (HTTPValidationError, AttributeError) as exc:
7676
if not expected_ok:
77-
assert "The file does not appear to be a valid PDF." in caplog.text
7877
assert "File does not appear to be a valid PDF" in str(exc)
7978
return
8079
else:

0 commit comments

Comments
 (0)