mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-12-01 23:44:10 +00:00
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:
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
|
||||
|
||||
|
||||
Reference in new issue
Block a user