Kazeia-central/tests
alf 7f999a06f0 feat(store): branchement API — déverrouillage opérateur, labels patients, audit
- API : /api/lock-status, /api/unlock, /api/lock, PUT /api/devices/{serial}/label,
  /api/audit ; /api/devices enrichi du label patient quand le store est déverrouillé.
- db.py thread-safe (check_same_thread=False + RLock) pour le threadpool FastAPI ;
  ajout lock(), device_labels().
- UI : barre de déverrouillage opérateur, affichage 👤 label, édition ✎ du nom.
- Sécurité : labels chiffrés (jamais en clair en base ni dans l'audit), opérations
  journalisées, store re-verrouillable.
- tests : +5 intégration API↔store (dont non-fuite PII dans l'audit). 19/19.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 22:49:43 +02:00
..
test_adb_parse.py feat: store chiffré, dashboard web flotte, accès réseau + durcissements 2026-06-18 22:41:55 +02:00
test_api_store.py feat(store): branchement API — déverrouillage opérateur, labels patients, audit 2026-06-18 22:49:43 +02:00
test_store.py feat: store chiffré, dashboard web flotte, accès réseau + durcissements 2026-06-18 22:41:55 +02:00