"""conftest.py — Add youtube-pipeline root to sys.path for test imports."""

import os
import sys

# Add the youtube-pipeline/ directory to sys.path so that
# 'from youtube_pipeline.transcriber import ...' works correctly.
_root = os.path.dirname(__file__)
if _root not in sys.path:
    sys.path.insert(0, _root)
