File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ def test_live_extract_pdf_text_to_file_success(
2929 assert isinstance (response , PdfRestFileBasedResponse )
3030 assert response .output_files
3131 output_file = response .output_file
32- assert output_file .name .endswith (".txt " )
33- assert output_file .type == "text/plain "
32+ assert output_file .name .endswith (".json " )
33+ assert output_file .type == "application/json "
3434 assert output_file .size > 0
3535 assert response .warning is None
3636 assert response .input_id == uploaded .id
@@ -60,7 +60,8 @@ async def test_live_async_extract_pdf_text_to_file_success(
6060 assert response .output_files
6161 output_file = response .output_file
6262 assert output_file .name .startswith ("async-text" )
63- assert output_file .type == "text/plain"
63+ assert output_file .name .endswith (".json" )
64+ assert output_file .type == "application/json"
6465 assert output_file .size > 0
6566 assert response .warning is None
6667 assert response .input_id == uploaded .id
You can’t perform that action at this time.
0 commit comments