mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-31 06:51:29 +00:00
test(voice_cli): drop stale ≥1 requirement for force=True error _vprint calls
This commit is contained in:
parent
0b491c466a
commit
af7b38d78e
1 changed files with 5 additions and 2 deletions
|
|
@ -482,8 +482,11 @@ class TestVprintForceParameter:
|
|||
else:
|
||||
unforced_error_count += 1
|
||||
|
||||
assert forced_error_count > 0, \
|
||||
"Expected at least one _vprint with force=True for error messages"
|
||||
# Invariant: no critical-error _vprint call may silently drop under
|
||||
# streaming suppression — every ❌-prefixed _vprint must pass force=True.
|
||||
# The codebase may legitimately have zero such calls if errors are
|
||||
# routed through print() or higher-level Rich panels; what matters is
|
||||
# that none are quietly suppressed.
|
||||
assert unforced_error_count == 0, \
|
||||
f"Found {unforced_error_count} critical error _vprint calls without force=True"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue