File size: 168 Bytes
e7bacad
 
 
 
 
 
 
1
2
3
4
5
6
7
# tests/conftest.py
"""Pytest配置"""
import sys
from pathlib import Path

# 添加项目根目录到Python路径
sys.path.insert(0, str(Path(__file__).parent.parent))