hass.tibber_prices/scripts
Julian Pawlowski f60b5990ae test: add pytest framework and midnight-crossing tests
Set up pytest with Home Assistant support and created 6 tests for
midnight-crossing period logic (5 unit tests + 1 integration test).

Added pytest configuration, test dependencies, test runner script
(./scripts/test), and comprehensive tests for group_periods_by_day()
and midnight turnover consistency.

All tests pass in 0.12s.

Impact: Provides regression testing for midnight-crossing period bugs.
Tests validate periods remain visible across midnight turnover.
2025-11-21 23:47:01 +00:00
..
json_schemas refactor: Revise translation schema to enhance structure and add detailed properties for configuration flows 2025-11-09 12:49:06 +00:00
bootstrap fix(setup): improve conditional checks for optional package installations 2025-11-21 11:14:00 +00:00
check feat(setup): add optional pyright installation and create type-check script 2025-11-20 10:10:33 +00:00
check-if-released test: add pytest framework and midnight-crossing tests 2025-11-21 23:47:01 +00:00
clean test: add pytest framework and midnight-crossing tests 2025-11-21 23:47:01 +00:00
develop refactor(config_flow): restructure package to satisfy hassfest validation 2025-11-15 17:40:53 +00:00
generate-release-notes feat(release): remove version tag prefix from release titles 2025-11-16 00:26:34 +00:00
hassfest test: add pytest framework and midnight-crossing tests 2025-11-21 23:47:01 +00:00
help test: add pytest framework and midnight-crossing tests 2025-11-21 23:47:01 +00:00
lint refactor(config_flow): restructure package to satisfy hassfest validation 2025-11-15 17:40:53 +00:00
lint-check refactor(config_flow): restructure package to satisfy hassfest validation 2025-11-15 17:40:53 +00:00
motd update dev environment 2025-11-03 15:54:01 +00:00
prepare-release test: add pytest framework and midnight-crossing tests 2025-11-21 23:47:01 +00:00
setup test: add pytest framework and midnight-crossing tests 2025-11-21 23:47:01 +00:00
suggest-version test: add pytest framework and midnight-crossing tests 2025-11-21 23:47:01 +00:00
sync-hacs test: add pytest framework and midnight-crossing tests 2025-11-21 23:47:01 +00:00
test test: add pytest framework and midnight-crossing tests 2025-11-21 23:47:01 +00:00
type-check feat(setup): add optional pyright installation and create type-check script 2025-11-20 10:10:33 +00:00
update update dev environment 2025-11-03 15:54:01 +00:00