diff --git a/tests/tools/test_transcription_tools.py b/tests/tools/test_transcription_tools.py index ed20bd3aa991..e5886bbae912 100644 --- a/tests/tools/test_transcription_tools.py +++ b/tests/tools/test_transcription_tools.py @@ -2465,7 +2465,8 @@ class TestCafConversion: assert result["success"] is True mock_convert.assert_not_called() -======= + + class TestTranscribeCredentialReadGuard: """transcribe_audio must refuse credential/secret stores before dispatch.""" diff --git a/tests/tools/test_voice_mode_playback_env_scrub.py b/tests/tools/test_voice_mode_playback_env_scrub.py index 75cc38584552..55d883aead4f 100644 --- a/tests/tools/test_voice_mode_playback_env_scrub.py +++ b/tests/tools/test_voice_mode_playback_env_scrub.py @@ -16,6 +16,7 @@ def test_play_audio_file_scrubbed_env(tmp_path, monkeypatch): captured["env"] = kwargs.get("env") proc = MagicMock() proc.wait.return_value = 0 + proc.returncode = 0 return proc import tools.voice_mode as vm