fix(audit): moderniser les accès ORM
CI - Security, Lint & Tests / validate (push) Failing after 19m37s

This commit is contained in:
GGThed
2026-08-17 15:02:29 -04:00
parent 105a72700f
commit d7a8907953
16 changed files with 179 additions and 86 deletions
+5 -3
View File
@@ -135,9 +135,11 @@ class TestThroughTheUploadRoute:
contract_id = Contract.query.one().id
response = client.get(f'/users/contracts/{contract_id}/download')
assert response.status_code == 200
assert response.data.startswith(b'%PDF-')
try:
assert response.status_code == 200
assert response.data.startswith(b'%PDF-')
finally:
response.close()
def _pdf():