Skip to content

Commit 3d0358c

Browse files
committed
fix: apply code formatting to integration tests
Fix formatting issues in test_direct_api_integration.py that were causing CI failures. The ruff formatter check was failing due to inconsistent formatting.
1 parent a964fad commit 3d0358c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/integration/test_direct_api_integration.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,9 @@ def test_duplicate_pdf_pages_reorder(self, client, sample_multipage_pdf_path):
339339
assert len(result) > 0
340340
assert_is_pdf(result)
341341

342-
def test_duplicate_pdf_pages_with_output_file(self, client, sample_multipage_pdf_path, tmp_path):
342+
def test_duplicate_pdf_pages_with_output_file(
343+
self, client, sample_multipage_pdf_path, tmp_path
344+
):
343345
"""Test duplicate_pdf_pages method saving to output file."""
344346
output_path = str(tmp_path / "duplicated.pdf")
345347

@@ -394,7 +396,9 @@ def test_delete_pdf_pages_with_output_file(self, client, sample_multipage_pdf_pa
394396
output_path = str(tmp_path / "pages_deleted.pdf")
395397

396398
# Test deleting pages and saving to file
397-
result = client.delete_pdf_pages(sample_multipage_pdf_path, page_indexes=[1], output_path=output_path)
399+
result = client.delete_pdf_pages(
400+
sample_multipage_pdf_path, page_indexes=[1], output_path=output_path
401+
)
398402

399403
# Should return None when saving to file
400404
assert result is None

0 commit comments

Comments
 (0)