From 81cb4e09b7b35867476239d6f5b157eb5b014715 Mon Sep 17 00:00:00 2001 From: sepehr Date: Sun, 14 Jun 2026 19:50:44 +0200 Subject: [PATCH] fix(tests): update PDF format test to use truly unsupported format (.txt) --- tests/test_translate_endpoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_translate_endpoint.py b/tests/test_translate_endpoint.py index af7909c..95379cb 100644 --- a/tests/test_translate_endpoint.py +++ b/tests/test_translate_endpoint.py @@ -221,7 +221,7 @@ class TestFileValidation: response = authenticated_client.post( TRANSLATE_URL, files={ - "file": ("test.pdf", io.BytesIO(invalid_content), "application/pdf") + "file": ("test.txt", io.BytesIO(invalid_content), "text/plain") }, data={"target_lang": "fr"}, )