Merged
Conversation
- tests/conftest.py: HA stub modules installed into sys.modules so the integration can be imported without a real Home Assistant installation - tests/test_models.py: 35 tests covering parse_datetime, format_datetime, and all six model classes (Child, Chore, Reward, ChoreCompletion, RewardClaim, PointsTransaction) — round-trips, defaults, legacy migration - tests/test_coordinator_logic.py: 54 tests covering parse_milestone_setting, _award_points (streak tracking, weekend multiplier, milestone bonuses), _async_check_streaks, _async_check_perfect_week, async_prune_history, and is_chore_available_for_child - tests/test_storage.py: 27 tests covering async_load defaults, the assigned_to migration, children CRUD, last_completed store (set/get/undo), the 200-item points transaction cap, pending completions filter, and settings - pytest.ini: configures test discovery and pythonpath All 108 tests pass. https://claude.ai/code/session_01CkPmKWe5siThpfZ6GDpNQF
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.