Skip to content

Commit 83dc8de

Browse files
committed
small fixes
1 parent 8c6b64e commit 83dc8de

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

_test_unstructured_client/integration/test_decorators.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@ def test_integration_split_pdf_has_same_output_as_non_split(
107107
)
108108
assert len(diff) == 0
109109

110-
@pytest.mark.parametrize( ("filename", "expected_ok", "strategy"), [
110+
111+
@pytest.mark.parametrize(("filename", "expected_ok", "strategy"), [
111112
("_sample_docs/layout-parser-paper.pdf", True, shared.Strategy.HI_RES), # 16 pages
112-
]
113-
)
114-
@pytest.mark.parametrize( ("use_caching", "cache_dir"), [
113+
])
114+
@pytest.mark.parametrize(("use_caching", "cache_dir"), [
115115
(True, None), # Use default cache dir
116116
(True, Path(tempfile.gettempdir()) / "test_integration_unstructured_client1"), # Use custom cache dir
117117
(False, None), # Don't use caching
@@ -145,7 +145,6 @@ def test_integration_split_pdf_with_caching(
145145
parameters = shared.PartitionParameters(
146146
files=files,
147147
strategy=strategy,
148-
languages=["eng"],
149148
split_pdf_page=True,
150149
split_pdf_cache_tmp_data=use_caching,
151150
split_pdf_cache_tmp_data_dir=str(cache_dir),
@@ -190,6 +189,7 @@ def test_integration_split_pdf_with_caching(
190189
if cache_dir:
191190
assert not Path(cache_dir).exists()
192191

192+
193193
@pytest.mark.parametrize("filename", ["_sample_docs/super_long_pages.pdf"])
194194
def test_long_pages_hi_res(filename):
195195
req = operations.PartitionRequest(partition_parameters=shared.PartitionParameters(

0 commit comments

Comments
 (0)