emo-online-api / emo /backend /tests /conftest.py
Emo Online
Deploy Emo API
dd87944
Raw
History Blame Contribute Delete
235 Bytes
"""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))