Don't allow turning on audio only chromecasts (#59495)
* Don't allow turning on audio only chromecasts * Improve tests * Adjust tests
This commit is contained in:
parent
85786fd987
commit
a29264518c
3 changed files with 69 additions and 6 deletions
|
@ -42,6 +42,7 @@ def pycast_mock(castbrowser_mock, castbrowser_constructor_mock):
|
|||
pycast_mock = MagicMock()
|
||||
pycast_mock.IDLE_APP_ID = pychromecast.IDLE_APP_ID
|
||||
pycast_mock.IGNORE_CEC = []
|
||||
pycast_mock.const = pychromecast.const
|
||||
pycast_mock.discovery.CastBrowser = castbrowser_constructor_mock
|
||||
pycast_mock.discovery.CastBrowser.return_value = castbrowser_mock
|
||||
pycast_mock.discovery.AbstractCastListener = (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue