mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Add missing test_all requirements (#142036)
Fix homeassistant_hardware handling and add missing test_all requirements
This commit is contained in:
@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user