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:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user