run_tests.py
416 Bytes
"""
兼容测试入口脚本
保留 `python tests/run_tests.py` 的旧用法,
真实实现已迁移到 `tests/integration/forum/run_tests.py`。
"""
import sys
from pathlib import Path
PROJECT_ROOT = Path(__file__).resolve().parents[1]
if str(PROJECT_ROOT) not in sys.path:
sys.path.insert(0, str(PROJECT_ROOT))
from tests.integration.forum.run_tests import main
if __name__ == "__main__":
main()