mirror of
https://github.com/home-assistant/core
synced 2024-10-01 05:30:36 +02:00
Improve yamaha tests (#105077)
This commit is contained in:
parent
5b55c7da5f
commit
428c184c75
@ -16,6 +16,7 @@ CONFIG = {"media_player": {"platform": "yamaha", "host": "127.0.0.1"}}
|
||||
def _create_zone_mock(name, url):
|
||||
zone = MagicMock()
|
||||
zone.ctrl_url = url
|
||||
zone.surround_programs = []
|
||||
zone.zone = name
|
||||
return zone
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user