Files
py_starter/{{cookiecutter.project_slug}}/tests/conftest.py
2025-01-20 15:38:15 +08:00

8 lines
173 B
Python

import os
import sys
from pathlib import Path
# Add the src directory to the Python path
src_path = Path(__file__).parent.parent / "app"
sys.path.insert(0, str(src_path))