mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 09:17:53 +00:00
Remove snapshots because of changing config entry ids
This commit is contained in:
parent
1162291c87
commit
5c58bc1726
@ -1,196 +0,0 @@
|
||||
# serializer version: 1
|
||||
# name: test_info
|
||||
dict({
|
||||
'01JNP8HAYHF6G5V0QJX6HBC94T': dict({
|
||||
'asr': list([
|
||||
dict({
|
||||
'attribution': dict({
|
||||
'name': 'Test',
|
||||
'url': 'http://www.test.com',
|
||||
}),
|
||||
'description': 'Test ASR',
|
||||
'installed': True,
|
||||
'models': list([
|
||||
dict({
|
||||
'attribution': dict({
|
||||
'name': 'Test',
|
||||
'url': 'http://www.test.com',
|
||||
}),
|
||||
'description': 'Test Model',
|
||||
'installed': True,
|
||||
'languages': list([
|
||||
'en-US',
|
||||
]),
|
||||
'name': 'Test Model',
|
||||
'version': None,
|
||||
}),
|
||||
]),
|
||||
'name': 'Test ASR',
|
||||
'version': None,
|
||||
}),
|
||||
]),
|
||||
'handle': list([
|
||||
]),
|
||||
'intent': list([
|
||||
]),
|
||||
'tts': list([
|
||||
]),
|
||||
'wake': list([
|
||||
]),
|
||||
}),
|
||||
'01JNP8HB1MMF0HE8M42C8K8XEH': dict({
|
||||
'asr': list([
|
||||
]),
|
||||
'handle': list([
|
||||
]),
|
||||
'intent': list([
|
||||
]),
|
||||
'tts': list([
|
||||
dict({
|
||||
'attribution': dict({
|
||||
'name': 'Test',
|
||||
'url': 'http://www.test.com',
|
||||
}),
|
||||
'description': 'Test TTS',
|
||||
'installed': True,
|
||||
'name': 'Test TTS',
|
||||
'version': None,
|
||||
'voices': list([
|
||||
dict({
|
||||
'attribution': dict({
|
||||
'name': 'Test',
|
||||
'url': 'http://www.test.com',
|
||||
}),
|
||||
'description': 'Test Voice',
|
||||
'installed': True,
|
||||
'languages': list([
|
||||
'en-US',
|
||||
]),
|
||||
'name': 'Test Voice',
|
||||
'speakers': list([
|
||||
dict({
|
||||
'name': 'Test Speaker',
|
||||
}),
|
||||
]),
|
||||
'version': None,
|
||||
}),
|
||||
]),
|
||||
}),
|
||||
]),
|
||||
'wake': list([
|
||||
]),
|
||||
}),
|
||||
'01JNP8HB1SJFFVX809QVAEQQPK': dict({
|
||||
'asr': list([
|
||||
]),
|
||||
'handle': list([
|
||||
]),
|
||||
'intent': list([
|
||||
]),
|
||||
'tts': list([
|
||||
]),
|
||||
'wake': list([
|
||||
dict({
|
||||
'attribution': dict({
|
||||
'name': 'Test',
|
||||
'url': 'http://www.test.com',
|
||||
}),
|
||||
'description': 'Test Wake Word',
|
||||
'installed': True,
|
||||
'models': list([
|
||||
dict({
|
||||
'attribution': dict({
|
||||
'name': 'Test',
|
||||
'url': 'http://www.test.com',
|
||||
}),
|
||||
'description': 'Test Model',
|
||||
'installed': True,
|
||||
'languages': list([
|
||||
'en-US',
|
||||
]),
|
||||
'name': 'Test Model',
|
||||
'phrase': 'Test Phrase',
|
||||
'version': None,
|
||||
}),
|
||||
]),
|
||||
'name': 'Test Wake Word',
|
||||
'version': None,
|
||||
}),
|
||||
]),
|
||||
}),
|
||||
'01JNP8HB1XY1S5BP3E01BSHN1V': dict({
|
||||
'asr': list([
|
||||
]),
|
||||
'handle': list([
|
||||
]),
|
||||
'intent': list([
|
||||
dict({
|
||||
'attribution': dict({
|
||||
'name': 'Test',
|
||||
'url': 'http://www.test.com',
|
||||
}),
|
||||
'description': 'Test Intent',
|
||||
'installed': True,
|
||||
'models': list([
|
||||
dict({
|
||||
'attribution': dict({
|
||||
'name': 'Test',
|
||||
'url': 'http://www.test.com',
|
||||
}),
|
||||
'description': 'Test Model',
|
||||
'installed': True,
|
||||
'languages': list([
|
||||
'en-US',
|
||||
]),
|
||||
'name': 'Test Model',
|
||||
'version': None,
|
||||
}),
|
||||
]),
|
||||
'name': 'Test Intent',
|
||||
'version': None,
|
||||
}),
|
||||
]),
|
||||
'tts': list([
|
||||
]),
|
||||
'wake': list([
|
||||
]),
|
||||
}),
|
||||
'01JNP8HB233HE975X9972MJN1G': dict({
|
||||
'asr': list([
|
||||
]),
|
||||
'handle': list([
|
||||
dict({
|
||||
'attribution': dict({
|
||||
'name': 'Test',
|
||||
'url': 'http://www.test.com',
|
||||
}),
|
||||
'description': 'Test Handle',
|
||||
'installed': True,
|
||||
'models': list([
|
||||
dict({
|
||||
'attribution': dict({
|
||||
'name': 'Test',
|
||||
'url': 'http://www.test.com',
|
||||
}),
|
||||
'description': 'Test Model',
|
||||
'installed': True,
|
||||
'languages': list([
|
||||
'en-US',
|
||||
]),
|
||||
'name': 'Test Model',
|
||||
'version': None,
|
||||
}),
|
||||
]),
|
||||
'name': 'Test Handle',
|
||||
'version': None,
|
||||
}),
|
||||
]),
|
||||
'intent': list([
|
||||
]),
|
||||
'tts': list([
|
||||
]),
|
||||
'wake': list([
|
||||
]),
|
||||
}),
|
||||
})
|
||||
# ---
|
@ -1,7 +1,5 @@
|
||||
"""Websocket tests for Wyoming integration."""
|
||||
|
||||
from syrupy.assertion import SnapshotAssertion
|
||||
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
from homeassistant.core import HomeAssistant
|
||||
|
||||
@ -17,7 +15,6 @@ async def test_info(
|
||||
init_wyoming_wake_word: ConfigEntry,
|
||||
init_wyoming_intent: ConfigEntry,
|
||||
init_wyoming_handle: ConfigEntry,
|
||||
snapshot: SnapshotAssertion,
|
||||
) -> None:
|
||||
"""Test info websocket command."""
|
||||
client = await hass_ws_client(hass)
|
||||
@ -29,7 +26,6 @@ async def test_info(
|
||||
assert msg["success"]
|
||||
|
||||
info = msg.get("result", {}).get("info", {})
|
||||
assert info == snapshot
|
||||
|
||||
# stt (speech-to-text) = asr (automated speech recognition)
|
||||
assert init_wyoming_stt.entry_id in info
|
||||
|
Loading…
x
Reference in New Issue
Block a user