refactor: comentarii strict functionale, fara referinte PRD/stories
Curatare globala a comentariilor si docstring-urilor (app, tools, teste, scripturi): eliminate referintele la PRD-uri, US-xxx, task-uri istorice si review-uri; pastrata doar informatia functionala, formulata scurt. Regula adaugata in CLAUDE.md (sectiunea Stil). Fara modificari de cod sau comportament. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
"""Teste US-001 (PRD 5.6): handler global de excepții -> 500 structurat (3 niveluri) + log."""
|
||||
"""Teste handler global de exceptii -> 500 structurat (3 niveluri) + log."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
@@ -39,7 +39,7 @@ def test_exceptie_neasteptata_da_500_structurat(client, monkeypatch):
|
||||
assert r.status_code == 500
|
||||
body = r.json()
|
||||
assert body["cod"] == "EROARE_INTERNA"
|
||||
# 3 niveluri (PRD 5.4): problema + fix
|
||||
# 3 niveluri: cod + problema + fix
|
||||
assert body["problema"]
|
||||
assert body["fix"]
|
||||
assert "request_id" in body
|
||||
|
||||
Reference in New Issue
Block a user