test(sys-ctl-hlth-volumes): spell out that a non-zero exit is expected

The script returns its anomaly count as the exit code and three of the five
cases assert on it, so the run must not raise. check=False is the default,
but stating it keeps someone from adding check=True and turning those three
assertions into a CalledProcessError.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
kevinveenbirkenbachandClaude Opus 5 committed 2026-08-06 20:09:53 +02:00
1 parent c4bbbba933
commit 05d85bcc40
1 file changed
+1
@@ -76,6 +76,7 @@ class TestHlthVolumesScript(unittest.TestCase):
env=env,
capture_output=True,
text=True,
check=False,
)
return done.returncode, done.stdout