core/tests/components/switch
Alex Osadchyy 2ba9d825a0 Reconnect before mochad switch send command (#11296)
* Connection to mochad occasionally stalls on RPi and CM19A. Reconnect one switch send command.

* Formatting and exception hanling fixes

* Moved import inside the method. Logging outside the try-catch.

* Tailing whitespaces.

* MockDependency on pymochad in unit tests to resolve exceptions

* patch pymochad MochadException in unit tests to resolve exceptions

* patch pymochad MochadException in unit tests to resolve exceptions

* cleaned unused import

* lint issue fixed

* pylint issue fixed
2018-01-08 08:32:24 +01:00
..
__init__.py Fix PEP257 issues 2016-03-09 10:25:50 +01:00
test_command_line.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_flux.py flux: fix for when stop_time is after midnight (#8932) 2017-09-02 18:02:11 +02:00
test_init.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_litejet.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_mfi.py Revise power and energy units and property names. (#6212) 2017-03-19 22:02:11 +01:00
test_mochad.py Reconnect before mochad switch send command (#11296) 2018-01-08 08:32:24 +01:00
test_mqtt.py More support for availability reporting on MQTT components (#11336) 2018-01-01 18:32:29 -08:00
test_rest.py Add HTTP Basic auth to RESTful Switch (#9162) 2017-09-09 10:20:48 -07:00
test_rflink.py Add test cases and fix for device_defaults fire_event option. (#9567) 2017-09-24 15:47:59 -07:00
test_rfxtrx.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_template.py Add entity_picture_template options to Template Cover, Template Light, Template Sensor, and Template Switch (#9854) 2017-10-30 09:28:37 -07:00
test_vultr.py Fix vultr tests (#11477) 2018-01-05 16:34:03 -08:00
test_wake_on_lan.py Fix slow WOL switch test (#10455) 2017-11-08 12:38:17 +01:00
test_zwave.py Zwave: Apply refresh_node workaround on 1st instance only (#7579) 2017-05-21 17:33:42 +03:00