parent
3a5309e9a0
commit
8d239d368b
9 changed files with 39 additions and 31 deletions
|
@ -37,10 +37,10 @@ def mock_russound() -> Generator[AsyncMock]:
|
|||
"""Mock the Russound RIO client."""
|
||||
with (
|
||||
patch(
|
||||
"homeassistant.components.russound_rio.Russound", autospec=True
|
||||
"homeassistant.components.russound_rio.RussoundClient", autospec=True
|
||||
) as mock_client,
|
||||
patch(
|
||||
"homeassistant.components.russound_rio.config_flow.Russound",
|
||||
"homeassistant.components.russound_rio.config_flow.RussoundClient",
|
||||
return_value=mock_client,
|
||||
),
|
||||
):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue