Add missing test_all requirements (#142036)

Fix homeassistant_hardware handling and add missing test_all requirements
This commit is contained in:
Tomek Wasilczyk 2025-04-05 03:12:34 -07:00 committed by GitHub
parent 4ab31e2d4e
commit 1ab8deff3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View File

@ -949,6 +949,9 @@ ha-iotawattpy==0.1.2
# homeassistant.components.philips_js
ha-philipsjs==3.2.2
# homeassistant.components.homeassistant_hardware
ha-silabs-firmware-client==0.2.0
# homeassistant.components.habitica
habiticalib==0.3.7
@ -2396,6 +2399,9 @@ ultraheat-api==0.5.7
# homeassistant.components.unifiprotect
unifi-discovery==1.2.0
# homeassistant.components.homeassistant_hardware
universal-silabs-flasher==0.0.30
# homeassistant.components.upb
upb-lib==0.6.1

View File

@ -266,7 +266,8 @@ def has_tests(module: str) -> bool:
Test if exists: tests/components/hue/__init__.py
"""
path = (
Path(module.replace(".", "/").replace("homeassistant", "tests")) / "__init__.py"
Path(module.replace(".", "/").replace("homeassistant", "tests", 1))
/ "__init__.py"
)
return path.exists()