1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Run pipeline from audio stream function (#90748)

* Run pipeline from audio stream function

* Fix tests

---------

Co-authored-by: Michael Hansen <mike@rhasspy.org>
This commit is contained in:
Paulus Schoutsen
2023-04-04 00:06:51 -04:00
committed by GitHub
parent 4f1574b859
commit 6e4c78686e
8 changed files with 383 additions and 158 deletions

View File

@@ -1268,7 +1268,7 @@ def mock_integration(
def mock_import_platform(platform_name: str) -> NoReturn:
raise ImportError(
f"Mocked unable to import platform '{platform_name}'",
f"Mocked unable to import platform '{integration.pkg_path}.{platform_name}'",
name=f"{integration.pkg_path}.{platform_name}",
)