"""Root conftest: ensure backend/ is on sys.path for symlinked test discovery.""" import os import sys _backend = os.path.join(os.path.dirname(__file__), "backend") if _backend not in sys.path: sys.path.insert(0, _backend)