fix(test): add missing _voice_mode attr to GatewayRunner test stubs

This commit is contained in:
0xbyt4 2026-03-11 17:30:38 +03:00
parent 75bd5a582b
commit e50323f730
6 changed files with 6 additions and 0 deletions

View file

@ -266,6 +266,7 @@ async def test_session_hygiene_messages_stay_in_originating_topic(monkeypatch, t
platforms={Platform.TELEGRAM: PlatformConfig(enabled=True, token="fake-token")}
)
runner.adapters = {Platform.TELEGRAM: adapter}
runner._voice_mode = {}
runner.hooks = SimpleNamespace(emit=AsyncMock(), loaded_hooks=False)
runner.session_store = MagicMock()
runner.session_store.get_or_create_session.return_value = SessionEntry(