Add allowed UUIDs and ignore CEC to Google Cast options flow (#47269)
This commit is contained in:
parent
6b2a2740f1
commit
3188f796f9
11 changed files with 253 additions and 186 deletions
|
@ -40,6 +40,7 @@ def mz_mock():
|
|||
def pycast_mock(castbrowser_mock, castbrowser_constructor_mock):
|
||||
"""Mock pychromecast."""
|
||||
pycast_mock = MagicMock()
|
||||
pycast_mock.IGNORE_CEC = []
|
||||
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