From 5c58bc17265e66bee26faa5248427983c5be8e81 Mon Sep 17 00:00:00 2001 From: Michael Hansen Date: Thu, 6 Mar 2025 11:48:43 -0600 Subject: [PATCH] Remove snapshots because of changing config entry ids --- .../wyoming/snapshots/test_websocket.ambr | 196 ------------------ tests/components/wyoming/test_websocket.py | 4 - 2 files changed, 200 deletions(-) delete mode 100644 tests/components/wyoming/snapshots/test_websocket.ambr diff --git a/tests/components/wyoming/snapshots/test_websocket.ambr b/tests/components/wyoming/snapshots/test_websocket.ambr deleted file mode 100644 index 777b99aca31..00000000000 --- a/tests/components/wyoming/snapshots/test_websocket.ambr +++ /dev/null @@ -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([ - ]), - }), - }) -# --- diff --git a/tests/components/wyoming/test_websocket.py b/tests/components/wyoming/test_websocket.py index 37c4b6332b5..18b43321354 100644 --- a/tests/components/wyoming/test_websocket.py +++ b/tests/components/wyoming/test_websocket.py @@ -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