Improve yamaha tests (#105077)
This commit is contained in:
parent
5b55c7da5f
commit
428c184c75
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue