message / tests /conftest.py
hunian
chore: cleanup deprecated files and update documentation
e7bacad
Raw
History Blame Contribute Delete
168 Bytes
# tests/conftest.py
"""Pytest配置"""
import sys
from pathlib import Path
# 添加项目根目录到Python路径
sys.path.insert(0, str(Path(__file__).parent.parent))