Files
computer-playbook/tests/unit/utils
kevinveenbirkenbachandClaude Opus 5 7cc61cff02 test(storage): mock disk_usage instead of sampling it live
Both docker_root_free_bytes tests compared the result against a second
live disk_usage() call, so any concurrent write between the two samples
failed them — reliably under the parallel `make test` targets, never in
isolation. Mock the call and assert which path was measured, which is
what the tests are about.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-08 10:29:27 +02:00
..
…
…
2026-08-04 13:27:35 +02:00