This commit is contained in:
Neo
2025-11-19 05:32:03 +08:00
parent cbe48c8ee7
commit fbee8a751e
3 changed files with 119 additions and 112 deletions

View File

@@ -21,6 +21,10 @@ import pytest
PROJECT_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
# 确保项目根目录在 sys.path便于 tests 内部 import config / tasks 等模块
if PROJECT_ROOT not in sys.path:
sys.path.insert(0, PROJECT_ROOT)
SUITE_MAP: Dict[str, str] = {
"online": "tests/unit/test_etl_tasks_online.py",
"offline": "tests/unit/test_etl_tasks_offline.py",