mirror of
https://github.com/home-assistant/core.git
synced 2025-08-16 19:11:42 +02:00
patch all samsungctl
This commit is contained in:
@@ -44,8 +44,12 @@ REMOTE_CALL = {
|
|||||||
def remote_fixture():
|
def remote_fixture():
|
||||||
"""Patch the samsungctl Remote."""
|
"""Patch the samsungctl Remote."""
|
||||||
with patch("homeassistant.components.samsungtv.config_flow.socket"), patch(
|
with patch("homeassistant.components.samsungtv.config_flow.socket"), patch(
|
||||||
|
"homeassistant.components.samsungtv.config_flow.Remote"
|
||||||
|
), patch(
|
||||||
"homeassistant.components.samsungtv.media_player.SamsungRemote"
|
"homeassistant.components.samsungtv.media_player.SamsungRemote"
|
||||||
) as remote, patch("homeassistant.components.samsungtv.media_player.socket"):
|
) as remote, patch(
|
||||||
|
"homeassistant.components.samsungtv.media_player.socket"
|
||||||
|
):
|
||||||
yield remote
|
yield remote
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user