mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-11 13:17:07 +00:00
Two problems, same two files, neither ever gated: the earlier run died in autoformat before test-unit started. ruff wanted Path.stat/Path.chmod over their os counterparts and an explicit check on subprocess.run — worth stating here, since down() is called precisely to observe a non-zero exit while its sibling git() sets check=True. The write-bit pinning the four remaining tests rely on does not restrain root, and the suite runs as root in the container: the script deleted the directory anyway, the assertion inverted, and the finally block then chmod'd a path that was already gone. Those four now skip when euid is 0, because the scenario cannot exist there. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>