File size: 259 Bytes
2414d31
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
"""Root conftest — add project root to sys.path for 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)