12 lines
266 B
Python
12 lines
266 B
Python
from __future__ import annotations
|
|
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
|
|
def pytest_configure() -> None:
|
|
root = Path(__file__).resolve().parents[2]
|
|
src_path = root / "api" / "src"
|
|
if str(src_path) not in sys.path:
|
|
sys.path.append(str(src_path))
|