Add support for when device is not logged in to HEOS (#22913)

This commit is contained in:
Andrew Sayre 2019-04-09 11:21:00 -05:00 committed by Martin Hjelmare
parent 0d2646ba25
commit 4110bd0acf
5 changed files with 82 additions and 17 deletions

View file

@ -28,6 +28,8 @@ def controller_fixture(players, favorites, input_sources, dispatcher):
mock_heos.players = players
mock_heos.get_favorites.return_value = favorites
mock_heos.get_input_sources.return_value = input_sources
mock_heos.is_signed_in = True
mock_heos.signed_in_username = "user@user.com"
yield mock_heos