medilang-tech / tests /conftest.py
Dama03's picture
first push of the AI
411a994
raw
history blame
250 Bytes
import os
import sys
# Ensure project root is on sys.path so 'app' and 'main' can be imported
PROJECT_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir))
if PROJECT_ROOT not in sys.path:
sys.path.insert(0, PROJECT_ROOT)