fix(tests): update PDF format test to use truly unsupported format (.txt)
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 2m8s
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 2m8s
This commit is contained in:
@@ -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"},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user