core/tests/components/smartthings
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 SmartThings component and switch platform (#20148) 2019-01-30 17:31:59 -08:00
conftest.py Improve string formatting v2 (#33645) 2020-04-04 23:09:34 +02:00
test_binary_sensor.py Remove all empty *_setup_platform() from integrations (#31025) 2020-01-21 12:38:38 +01:00
test_climate.py Remove all empty *_setup_platform() from integrations (#31025) 2020-01-21 12:38:38 +01:00
test_config_flow.py Sort imports according to PEP8 for components starting with "S" (#29777) 2019-12-09 14:38:01 +01:00
test_cover.py Remove all empty *_setup_platform() from integrations (#31025) 2020-01-21 12:38:38 +01:00
test_fan.py Remove all empty *_setup_platform() from integrations (#31025) 2020-01-21 12:38:38 +01:00
test_init.py Fix uncaught exceptions for discovery, unify_direct, spotify,… (#33735) 2020-04-07 09:34:13 -07:00
test_light.py Remove all empty *_setup_platform() from integrations (#31025) 2020-01-21 12:38:38 +01:00
test_lock.py Remove all empty *_setup_platform() from integrations (#31025) 2020-01-21 12:38:38 +01:00
test_scene.py Remove all empty *_setup_platform() from integrations (#31025) 2020-01-21 12:38:38 +01:00
test_sensor.py Improve string formatting v7 (#33705) 2020-04-05 17:34:24 -05:00
test_smartapp.py Black 2019-07-31 12:25:30 -07:00
test_switch.py Remove all empty *_setup_platform() from integrations (#31025) 2020-01-21 12:38:38 +01:00