core/tests/components/cast
Ziv bee742994e
Fix uncaught exceptions for discovery, unify_direct, spotify,… (#33735)
* used coroutinemock to avoid exception

* added spec to mock to remove exception

* added the current_user return value so it doesnt throw exception

* fix the mocks so properties do not need .return_value

* fixed missing mock values that were causing exceptions

* moved patch to asynctest so no need to define m_init

* fixed black error
2020-04-07 09:34:13 -07:00
..
__init__.py Add config entry for Sonos + Cast (#14955) 2018-06-14 15:17:54 -04:00
test_home_assistant_cast.py Add support for dashboards to lovelace cast service (#32913) 2020-03-26 16:23:46 -07:00
test_init.py use isort to sort imports according to PEP8 for cast (#29624) 2019-12-08 22:00:57 +05:30
test_media_player.py Fix uncaught exceptions for discovery, unify_direct, spotify,… (#33735) 2020-04-07 09:34:13 -07:00