File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -410,7 +410,9 @@ def handler(request: httpx.Request) -> httpx.Response:
410410 assert output_file .name == "blank.pdf"
411411 assert output_file .type == "application/pdf"
412412 assert response .warning is None
413- assert str (response .input_id ) == output_id
413+ assert response .input_ids == []
414+ with pytest .raises (ValueError , match = r"no input id was specified" ):
415+ _ = response .input_id
414416
415417
416418def test_blank_pdf_request_customization (
@@ -531,7 +533,9 @@ def handler(request: httpx.Request) -> httpx.Response:
531533 assert isinstance (response , PdfRestFileBasedResponse )
532534 assert response .output_file .name == "async.pdf"
533535 assert response .output_file .type == "application/pdf"
534- assert str (response .input_id ) == output_id
536+ assert response .input_ids == []
537+ with pytest .raises (ValueError , match = r"no input id was specified" ):
538+ _ = response .input_id
535539
536540
537541@pytest .mark .asyncio
You can’t perform that action at this time.
0 commit comments