-
Notifications
You must be signed in to change notification settings - Fork 67
ha number #302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ha number #302
Conversation
📝 WalkthroughWalkthroughAdds HA Number support by introducing an optional Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 1 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@tests/resources/test_numbers.py`:
- Around line 83-88: The test test_create_with_ha_enabled is failing because
`@with_response` expects a fixture file named
phoneNumberCreateWithHaEnabledResponse.json that doesn't exist; fix by either
adding that fixture under tests/resources/fixtures with the expected mocked
response or (preferred) change the decorator call on test_create_with_ha_enabled
to reuse an existing fixture via the with_response method_name parameter (e.g.,
method_name='phoneNumberCreateResponse') so the test uses a valid fixture;
update only the decorator on test_create_with_ha_enabled or add the new fixture
file accordingly.
Summary by CodeRabbit
New Features
Tests
✏️ Tip: You can customize this high-level summary in your review settings.