MasterMind/conftest.py
Jarian Cottingham bdb34e038d improve: README, LICENSE, pyproject, tests, sub-question traversal fix
- Process nested subQuestions (previously silently dropped)
- Sanitize phase names for summary filenames (path traversal)
- Proper urllib.request import (was __import__ hack)
- Add README, MIT LICENSE, pyproject (activates CI lint/test/security)
- 19 tests: validation, slug, question tree, Ollama fetch (mocked), end-to-end main()
2026-08-20 23:47:43 +00:00

7 lines
179 B
Python

"""Make scripts/ importable for the test suite without installation."""
import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parent / "scripts"))