Ran
|
Files
6
|
Run time
3s
|
Badge
Embed ▾
README BADGES
|
push
github
Feat: duration being turned ON (turn off after turned on) (#166) * New event: TURNED_ON. * Draft for the implementation. * no migration * Updating test_get_settings_defaults. * Updating test_get_template_vars. * Mocking and asserting event handler call in test_handle_update_command. * Ref: moving the stetement into loop. * Same assertion for test_toggle_relay. * Ref: another condition for test_handle_update_command. * Ref: extracting assertion condition. * Updating snapshot. * Introducing the scope for handle_plugin_event. * Using the scope for TURNED_ON event. * Preventing infinite loop in handle_plugin_event for TURNED_ON and target True. * Replacing `return` with `continue` * Add branch logging * Introducing 'disabled' prop for UI events var structure. * Disabling the corresponding options in the template. * Updating snapshot. * Automatically highlight state label within event label. * Splitting statements. * Shortening syntax. * Shortening syntax. * Shortening syntax. * Private naming. * Revert "Private naming." This reverts commit 928031c7f. * Updating snapshot. * Add more cases to test_handle_plugin_event. * Fixed tests.
335 of 339 relevant lines covered (98.82%)
0.99 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|