idea19-missionledger-verifi.../conftest.py

8 lines
233 B
Python

import sys
import os
# Ensure the repository root is on sys.path for test discovery/imports
ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__)))
if ROOT not in map(os.path.abspath, sys.path):
sys.path.insert(0, ROOT)