core/tests/components/discovery
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 Move components to folders (#20774) 2019-02-05 19:31:15 -08:00
test_init.py Fix uncaught exceptions for discovery, unify_direct, spotify,… (#33735) 2020-04-07 09:34:13 -07:00