adaptive-lighting/.github
Benjamin Auquite cb967aeeb7
Create intentionally over-redundant state_change tests and fix #541 (#544)
* add transition_timer test and debug

* syntax error

* test

* Update switch.py

* Revert "test"

This reverts commit b8009e0a1a.

* Update test_switch.py

* add `create_transition_events` to tests.

nearly done

* tests are done!

* pop is for dictionaries

* Update test_switch.py

* combine the tests

* pin markdown-code-runner

* Pin with '=='

* Update test_switch.py

* pin in the correct place 😅

* Update test_switch.py

* Use timer.is_running

* Update test_switch.py

* ensure timer is running in tests

* this passes the test

* Update test_switch.py

* Do not create new list when not needed

* Remove empty deps

* Remove CONF_ULID_MAX_LENGTH (which is not configurable)

* this shouldn't pass the test but it does.

---------

Co-authored-by: Bas Nijholt <basnijholt@gmail.com>
Co-authored-by: Bas Nijholt <bas@nijho.lt>
2023-04-06 13:53:23 -05:00
..
ISSUE_TEMPLATE Run all pre-commit filters 2022-08-28 15:08:03 -07:00
workflows Create intentionally over-redundant state_change tests and fix #541 (#544) 2023-04-06 13:53:23 -05:00
auto-comment.yml Create auto-comment.yml 2021-08-01 16:43:09 +02:00
CODEOWNERS Release 1.9.1 (#522) 2023-04-03 02:07:05 -07:00
config.yml Create config.yml 2021-08-01 16:41:16 +02:00
FUNDING.yml Run all pre-commit filters 2022-08-28 15:08:03 -07:00
update-services.py Add scripts to auto update en.json, strings.json and services.yaml (#520) 2023-04-03 14:59:14 -07:00
update-strings.py Add scripts to auto update en.json, strings.json and services.yaml (#520) 2023-04-03 14:59:14 -07:00