-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
Debug sfr_box diagnostic test #125679
Debug sfr_box diagnostic test #125679
Conversation
Hey there @epenet, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
Fixed by hacf-fr/sfrbox-api#327 |
I want to understand how changing the typing fixes the problem instead of just closing the issue |
The problem goes away if pydantic is downgraded from 1.10.17 to 1.10.16. The diff is not large between those two releases, it seems to be mostly about shuffling 1.x-code around: pydantic/pydantic@v1.10.16...v1.10.17 Edit: Tests pass when removing the pydantic cython libraries |
Closing, this is a known issue in pydantic: pydantic/pydantic#4519 |
Proposed change
Debug sfr_box diagnostic test
The class added to
sfr_box/__init__.py
makes tests fail. Some extra checks added tosfr_box/conftest.py
to narrow down the problem.pytest -vvv tests/components/sfr_box/test_diagnostics.py
With this change, the test passes:
Type of change
Additional information
Checklist
ruff format homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
.To help with the load of incoming pull requests: