Skip to content

Commit e8946dd

Browse files
Address test failures in Rasterize unit test and live PDF test
Assisted-by: Codex
1 parent f204c7a commit e8946dd

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

tests/live/test_live_pdf_redactions.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,6 @@ async def test_live_async_redactions_invalid_payloads(
317317
preview = await client.preview_redactions(
318318
uploaded_pdf_for_redaction,
319319
redactions=[{"type": "literal", "value": "placeholder"}],
320-
extra_body=extra_body,
321320
)
322321
preview_file = preview.output_files[0]
323322
with pytest.raises(PdfRestApiError, match=r"(?i)rgb"):

tests/test_rasterize_pdf.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -288,10 +288,3 @@ async def test_async_rasterize_pdf_validation(monkeypatch: pytest.MonkeyPatch) -
288288
await client.rasterize_pdf(
289289
[pdf_file, make_pdf_file(PdfRestFileID.generate())]
290290
)
291-
292-
with pytest.raises(ValidationError, match="Timeout must be greater than 0"):
293-
await client.rasterize_pdf(
294-
make_pdf_file(PdfRestFileID.generate(1)),
295-
output="output",
296-
timeout=0,
297-
)

0 commit comments

Comments
 (0)