Files
ECC/tests
montjeffreyandClaude Opus 5.5 81fdd162df test(clv2): cover observe.sh preferring the Python Install Manager launcher
Add tests/hooks/clv2-pymanager-launcher.test.js. It drives the real
observe.sh with stand-in python3/python aliases in a WindowsApps dir and
stand-in launchers in <LOCALAPPDATA>/Python/bin, and a disabled flag so
the hook exits right after its first Python call.

Cases: the launcher runs instead of a WindowsApps python3 alias and is
exported as CLV2_PYTHON_CMD for detect-project.sh; the same for a lone
python alias; the WindowsApps dir matched case-insensitively; the alias
kept when Python\bin has no launcher (Microsoft Store Python) or
LOCALAPPDATA is unset; a python3 outside WindowsApps left alone; an
explicit CLV2_PYTHON_CMD still wins.

Fails on this commit: the three launcher cases run the alias.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 09:54:10 -05:00
..
2026-04-12 12:34:45 +05:30