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:
Teknium 2026-07-28 12:29:18 -07:00
parent bb09e3eaac
commit 237b0f5d5e

View file

@ -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):