chore: fix tests

Fixed the use of `asyncio.Event` in `VADAgent` breaking tests.
This commit is contained in:
2025-11-22 20:06:48 +01:00
parent 8607f9b615
commit 47a20413c4
4 changed files with 5 additions and 5 deletions

View File

@@ -87,7 +87,7 @@ async def test_real_audio(mocker):
return None
vad_agent.audio_in_poller = DummyPoller(chunk_bytes, vad_agent)
vad_agent._ready = True
vad_agent._ready = AsyncMock()
vad_agent._running = True
vad_agent.i_since_speech = 0