Ran
|
Jobs
18
|
Files
7
|
Run time
16s
|
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.
28 of 28 branches covered (100.0%)
Branch coverage included in aggregate %.
11 of 11 new or added lines in 2 files covered. (100.0%)
421 of 421 relevant lines covered (100.0%)
14.84 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|