Add snapshot

This commit is contained in:
Michael Hansen 2025-03-06 11:37:39 -06:00
parent bac63f7cdb
commit 08bb3a6aac
2 changed files with 197 additions and 0 deletions

View File

@ -0,0 +1,196 @@
# 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([
]),
}),
})
# ---

View File

@ -29,6 +29,7 @@ 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