mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-03-30 05:13:40 +00:00
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. |
||
|---|---|---|
| .. | ||
| json_schemas | ||
| bootstrap | ||
| check | ||
| check-if-released | ||
| clean | ||
| develop | ||
| generate-release-notes | ||
| hassfest | ||
| help | ||
| lint | ||
| lint-check | ||
| motd | ||
| prepare-release | ||
| setup | ||
| suggest-version | ||
| sync-hacs | ||
| test | ||
| type-check | ||
| update | ||