Skip to content

Commit 4050ab0

Browse files
Convert to PNG live tests: Fix expected error
Assisted-by: Codex
1 parent 906a905 commit 4050ab0

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/live/test_live_graphic_conversions.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,10 @@ def test_live_png_page_range_invalid_overrides(
389389
api_key=pdfrest_api_key,
390390
base_url=pdfrest_live_base_url,
391391
) as client,
392-
pytest.raises(PdfRestApiError, match=r"(?i)page"),
392+
pytest.raises(
393+
PdfRestApiError,
394+
match=r"There was an issue processing your file\. Validate all fields and try again\.",
395+
),
393396
):
394397
client.convert_to_png(
395398
uploaded_20_page_pdf,

0 commit comments

Comments
 (0)