hass-core/tests/components/switch
Jon Caruana 2a6c0cfc17 LiteJet: Unit tests and new trigger options held_more_than and held_less_than. (#4473)
* LiteJet: Unit tests and new trigger options held_more_than and held_less_than.
* Unit tests for the LiteJet component and associated platforms. Coverage is almost 100% -- just misses one line.
* The automation LiteJet trigger returns an empty "removal" function to ensure the automation base is happy with it. The pylitejet library doesn't actually support a real removal.
* The automation LiteJet trigger can detect hold time and act appropriately to support things like short tap or long hold.

* LiteJet: Fix indent in unit test source code.

* LiteJet: Fix test_include_switches_* unit tests on Python 3.5

* LiteJet: Remove wait for state existence from unit tests. Recent fixes to discovery make this no longer necessary.
2016-11-24 09:52:15 -08:00
..
__init__.py Fix PEP257 issues 2016-03-09 10:25:50 +01:00
test_command_line.py Fix lint issues for 0.33 (#4451) 2016-11-18 23:05:03 +01:00
test_flux.py Continue on invalid platforms and new setup_component unit tests (#3736) 2016-10-08 11:27:35 -07:00
test_init.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
test_litejet.py LiteJet: Unit tests and new trigger options held_more_than and held_less_than. (#4473) 2016-11-24 09:52:15 -08:00
test_mfi.py Removing calls to mock.assert_called_once_with (#3896) 2016-10-16 16:13:27 -07:00
test_mochad.py Add mochad component (#3970) 2016-10-24 21:49:49 -07:00
test_mqtt.py Async bootstrap / component init (#3991) 2016-10-27 00:16:23 -07:00
test_rest.py Migrate callbacks to use schedule_update_ha_state (#4426) 2016-11-17 07:34:46 -08:00
test_rfxtrx.py Lazy initialise the worker pool (#4110) 2016-10-31 08:47:29 -07:00
test_template.py More async tests (#4223) 2016-11-05 16:36:20 -07:00