Skip to content

The agent that grows with you

test(gateway): run the local /voice tts daemon test on Linux only

Tekniumb1f5058dfcf0
diff --git a/tests/gateway/test_local_session_voice_tts.py b/tests/gateway/test_local_session_voice_tts.py
index d2334c107d6..b9e9fc99859 100644
--- a/tests/gateway/test_local_session_voice_tts.py
+++ b/tests/gateway/test_local_session_voice_tts.py
@@ -18,6 +18,8 @@ import time
from http.server import ThreadingHTTPServer
from pathlib import Path
+import pytest
+
from tests.gateway.fixtures.local_recovery_probe import Model, child_env, daemon, rpc, websocket
@@ -55,6 +57,7 @@ def test_local_voice_refusal_reads_the_argument_as_the_handler_does():
assert command_verdict('voice', arg) == 'control', arg
[email protected]("linux") # the daemon is stopped with SIGINT, which raises on Windows
def test_local_session_voice_tts_never_synthesizes_unplayable_audio(tmp_path):
root = Path(__file__).resolve().parents[2]
home, user, work = tmp_path / 'state', tmp_path / 'user', tmp_path / 'work'