# -*- coding: utf-8 -*-
"""
V2-006 Runner Test

위치:
  D:/honghee/blog_api/tools/test_v2_runner.py

실행:
  cd /d D:/honghee/blog_api
  python -m tools.test_v2_runner

목표:
- services.v2.runner.run_v2_pipeline() 하나로
  Session -> Collect -> Draft -> Publish 흐름이 실행되는지 확인한다.
"""

import sys
from pathlib import Path

ROOT = Path(__file__).resolve().parents[1]
sys.path.insert(0, str(ROOT))

from services.v2.runner import run_v2_pipeline, print_v2_summary


def main():
    context = run_v2_pipeline(realtor_id=1)
    print_v2_summary(context)


if __name__ == "__main__":
    main()
