File size: 268 Bytes
414dc55
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
"""Make ``src`` importable in tests, mirroring app.py's sys.path bootstrap."""

from __future__ import annotations

import sys
from pathlib import Path

_SRC = Path(__file__).resolve().parents[1] / "src"
if str(_SRC) not in sys.path:
    sys.path.insert(0, str(_SRC))