Spaces:
Running
Running
| """Pytest path setup — backend modules importables depuis la racine du repo.""" | |
| import sys | |
| from pathlib import Path | |
| BACKEND = Path(__file__).resolve().parents[1] | |
| if str(BACKEND) not in sys.path: | |
| sys.path.insert(0, str(BACKEND)) | |