"""Shared pytest fixtures. Ensures the `scripts/` directory is on sys.path so tests can `import fs_utils`, `import utils`, etc. without installing the package. """ from __future__ import annotations import sys from pathlib import Path _ROOT = Path(__file__).resolve().parent.parent _SCRIPTS = _ROOT / "scripts" if str(_SCRIPTS) not in sys.path: sys.path.insert(0, str(_SCRIPTS))