Courrier v1.5 (tt-2026-11-068) : telechargement securise des pieces jointes depuis le panneau de lecture
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XGaEeWkqZYNP6Wn3mGQsrL
This commit is contained in:
1 parent
a9fbd45081
commit
ce10cae840
7 files changed
+176
-10
No files matched your search
@@ -28,7 +28,7 @@ def test_lecture_renvoie_les_champs_utiles(client, monkeypatch):
|
||||
j = r.json()
|
||||
assert j["de"].startswith("Ali Ben Salah") and "autre@exemple.tn" in j["a"] and j["cc"] == "copie@exemple.tn"
|
||||
assert j["objet"] == "Demande de prix" and j["corps"].startswith("Bonjour,") and j["tronque"] is False
|
||||
assert j["pieces_jointes"] == [{"nom": "offre.pdf", "type": "application/pdf", "taille": 20480}]
|
||||
assert j["pieces_jointes"] == [{"nom": "offre.pdf", "type": "application/pdf", "taille": 20480, "bloquee": False}]
|
||||
|
||||
|
||||
def test_lecture_plafonne_un_corps_tres_long(client, monkeypatch):
|
||||
|
||||
Reference in new issue
Block a user