fix(test): add missing voice state attrs to CLI stub in skin tests
The rebase added voice prompt checks to _get_tui_prompt_fragments but the test stub was missing _voice_recording, _voice_processing and _voice_mode attributes, causing AttributeError.
This commit is contained in:
parent
eb34c0b09a
commit
92c14ec4b0
1 changed files with 3 additions and 0 deletions
|
|
@ -14,6 +14,9 @@ def _make_cli_stub():
|
||||||
cli._clarify_freetext = False
|
cli._clarify_freetext = False
|
||||||
cli._command_running = False
|
cli._command_running = False
|
||||||
cli._agent_running = False
|
cli._agent_running = False
|
||||||
|
cli._voice_recording = False
|
||||||
|
cli._voice_processing = False
|
||||||
|
cli._voice_mode = False
|
||||||
cli._command_spinner_frame = lambda: "⟳"
|
cli._command_spinner_frame = lambda: "⟳"
|
||||||
cli._tui_style_base = {
|
cli._tui_style_base = {
|
||||||
"prompt": "#fff",
|
"prompt": "#fff",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue