Zeige E-Mail-Anlagen in der Leseansicht, damit der Inhalt nachvollziehbar bleibt.
Deploy Development / deploy (push) Successful in 29s
Deploy Development / deploy (push) Successful in 29s
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
f0c8981e22
commit
2664021e7f
5 files changed
+124
-18
No files matched your search
@@ -263,6 +263,8 @@ def test_an_adopted_message_loads_in_full_with_its_attachment(client, db, monkey
|
||||
attachment = _raw(ada, f"/api/v1/external-refs/{created['id']}/mail/attachments/0")
|
||||
assert attachment.status_code == 200
|
||||
assert attachment.content.startswith(b"%PDF")
|
||||
assert attachment.headers["content-type"].startswith("application/pdf")
|
||||
assert attachment.headers["content-disposition"].startswith("inline;")
|
||||
ada.request(
|
||||
"POST",
|
||||
"/api/v1/external-refs",
|
||||
|
||||
Reference in new issue
Block a user