File size: 282 Bytes
6762657
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
"""Pytest configuration — ensures the project root is on sys.path for all tests."""

from __future__ import annotations

import sys
from pathlib import Path

PROJECT_ROOT = str(Path(__file__).resolve().parent)
if PROJECT_ROOT not in sys.path:
    sys.path.insert(0, PROJECT_ROOT)