........................................................................ [ 9%] ........................................................................ [ 19%] .F.............FFFF..FF................................................. [ 29%] ........................................................................ [ 38%] ........................................................................ [ 48%] ........................................................................ [ 58%] ........................................................................ [ 67%] ........................................................................ [ 77%] ........................................................................ [ 87%] ........................................................................ [ 97%] ...................... [100%] =================================== FAILURES =================================== _________________ test_new_formats_disappearance_and_recovery __________________ tests/test_enquiry_format_recovery.py:85: in test_new_formats_disappearance_and_recovery result = run_format_drill(tmp_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_enquiry_format_recovery.py:67: in run_format_drill assert submit(restored, r['data'], r['key'], r['path']).json()['receipt'] == current['id'] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E KeyError: 'receipt' ____ test_genuinely_readable_exact_file_size_boundaries[-1-png_exact_size] _____ tests/test_enquiry_formats.py:91: in test_genuinely_readable_exact_file_size_boundaries assert response.status_code == (413 if delta > 0 else 200), response.text E AssertionError: {"detail":"Photo 1 (boundary.png): this image exceeds the local conversion time or output allowance. Choose a smaller still image."} E assert 415 == 200 E + where 415 = .status_code ____ test_genuinely_readable_exact_file_size_boundaries[-1-heif_exact_size] ____ tests/test_enquiry_formats.py:91: in test_genuinely_readable_exact_file_size_boundaries assert response.status_code == (413 if delta > 0 else 200), response.text E AssertionError: {"detail":"Photo 1 (boundary.heif): this image exceeds the local conversion time or output allowance. Choose a smaller still image."} E assert 415 == 200 E + where 415 = .status_code _____ test_genuinely_readable_exact_file_size_boundaries[0-png_exact_size] _____ tests/test_enquiry_formats.py:91: in test_genuinely_readable_exact_file_size_boundaries assert response.status_code == (413 if delta > 0 else 200), response.text E AssertionError: {"detail":"Photo 1 (boundary.png): this image exceeds the local conversion time or output allowance. Choose a smaller still image."} E assert 415 == 200 E + where 415 = .status_code ____ test_genuinely_readable_exact_file_size_boundaries[0-heif_exact_size] _____ tests/test_enquiry_formats.py:91: in test_genuinely_readable_exact_file_size_boundaries assert response.status_code == (413 if delta > 0 else 200), response.text E AssertionError: {"detail":"Photo 1 (boundary.heif): this image exceeds the local conversion time or output allowance. Choose a smaller still image."} E assert 415 == 200 E + where 415 = .status_code _ test_five_full_allowance_files_fit_body_and_total_without_reducing_per_file_limit _ tests/test_enquiry_formats.py:101: in test_five_full_allowance_files_fit_body_and_total_without_reducing_per_file_limit j = saved(owner, submit(app, data)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_public_enquiries.py:31: in saved assert response.status_code==200,response.text E AssertionError: {"detail":"Photo 1 (full-allowance-0.png): this image exceeds the local conversion time or output allowance. Choose a smaller still image."} E assert 415 == 200 E + where 415 = .status_code _ test_large_encoded_pixels_resize_and_five_images_can_exceed_old_converted_total _ tests/test_enquiry_formats.py:112: in test_large_encoded_pixels_resize_and_five_images_can_exceed_old_converted_total owner = client(app); j = saved(owner, submit(app, data)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_public_enquiries.py:31: in saved assert response.status_code==200,response.text E AssertionError: {"detail":"Photo 1 (noisy-synthetic-0.png): this image exceeds the local conversion time or output allowance. Choose a smaller still image."} E assert 415 == 200 E + where 415 = .status_code =============================== warnings summary =============================== ../shs-v20-venv/lib/python3.12/site-packages/fastapi/testclient.py:1 /private/tmp/shs-v20-venv/lib/python3.12/site-packages/fastapi/testclient.py:1: StarletteDeprecationWarning: Using `httpx` with `starlette.testclient` is deprecated; install `httpx2` instead. from starlette.testclient import TestClient as TestClient # noqa tests/test_photos.py::test_animation_and_pixel_limit /private/tmp/shs-v20-venv/lib/python3.12/site-packages/PIL/Image.py:3593: DecompressionBombWarning: Image size (12004000 pixels) exceeds limit of 12000000 pixels, could be decompression bomb DOS attack. warnings.warn( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_enquiry_format_recovery.py::test_new_formats_disappearance_and_recovery FAILED tests/test_enquiry_formats.py::test_genuinely_readable_exact_file_size_boundaries[-1-png_exact_size] FAILED tests/test_enquiry_formats.py::test_genuinely_readable_exact_file_size_boundaries[-1-heif_exact_size] FAILED tests/test_enquiry_formats.py::test_genuinely_readable_exact_file_size_boundaries[0-png_exact_size] FAILED tests/test_enquiry_formats.py::test_genuinely_readable_exact_file_size_boundaries[0-heif_exact_size] FAILED tests/test_enquiry_formats.py::test_five_full_allowance_files_fit_body_and_total_without_reducing_per_file_limit FAILED tests/test_enquiry_formats.py::test_large_encoded_pixels_resize_and_five_images_can_exceed_old_converted_total 7 failed, 735 passed, 2 warnings in 385.33s (0:06:25)