| import sys | |
| from pathlib import Path | |
| # Ensure "core" can be imported when tests run from repo root. | |
| ROOT = Path(__file__).resolve().parents[1] | |
| if str(ROOT) not in sys.path: | |
| sys.path.insert(0, str(ROOT)) | |
| import sys | |
| from pathlib import Path | |
| # Ensure "core" can be imported when tests run from repo root. | |
| ROOT = Path(__file__).resolve().parents[1] | |
| if str(ROOT) not in sys.path: | |
| sys.path.insert(0, str(ROOT)) | |