mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-29 18:46:59 +00:00
test: opt TestSpeakTextGuards out of the new audio-playback guard
The autouse _audio_playback_guard from this PR stubs voice.speak_text globally — but these tests exercise speak_text itself with their own playback stubs (no real audio possible). Mark real_audio_playback so the guard yields; the tests' own monkeypatches keep speakers silent.
This commit is contained in:
parent
bb09e3eaac
commit
237b0f5d5e
1 changed files with 1 additions and 0 deletions
|
|
@ -278,6 +278,7 @@ class TestStopWithoutStart:
|
|||
assert voice.stop_and_transcribe() is None
|
||||
|
||||
|
||||
@pytest.mark.real_audio_playback
|
||||
class TestSpeakTextGuards:
|
||||
@pytest.mark.parametrize("text", ["", " ", "\n\t "])
|
||||
def test_empty_text_is_noop(self, text):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue