v1.0 - Version stable: multi-PC, détection UI-DETR-1, 3 modes exécution

- Frontend v4 accessible sur réseau local (192.168.1.40)
- Ports ouverts: 3002 (frontend), 5001 (backend), 5004 (dashboard)
- Ollama GPU fonctionnel
- Self-healing interactif
- Dashboard confiance

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Dom
2026-01-29 11:23:51 +01:00
parent 21bfa3b337
commit a27b74cf22
1595 changed files with 412691 additions and 400 deletions

28
tests/conftest.py Normal file
View File

@@ -0,0 +1,28 @@
"""
Configuration pytest pour RPA Vision V3
Auteur: Dom, Alice Kiro - 15 décembre 2024
Objectif: Fiche #4 - Assurer que pytest trouve 'core' depuis n'importe où
Ce fichier garantit que:
- pytest fonctionne depuis la racine du projet
- pytest fonctionne depuis un IDE (PyCharm/VSCode)
- Les imports 'from core...' marchent partout
- Plus de problèmes PYTHONPATH
"""
import sys
from pathlib import Path
# S'assurer que la racine du projet est dans sys.path pour que `import core...` fonctionne partout
ROOT = Path(__file__).resolve().parents[1]
if str(ROOT) not in sys.path:
sys.path.insert(0, str(ROOT))
# Vérification que core est accessible
try:
import core
print(f"✅ Core module accessible depuis: {core.__file__}")
except ImportError as e:
print(f"❌ Erreur import core: {e}")
print(f" ROOT path: {ROOT}")
print(f" sys.path: {sys.path[:3]}...")