Files
disknext/tests/conftest.py
2025-06-22 19:26:23 +08:00

10 lines
218 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"""
Pytest配置文件
"""
import pytest
import os
import sys
# 添加项目根目录到Python路径确保可以导入项目模块
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))