Skip to content

Commit 1ab8def

Browse files
authored
Add missing test_all requirements (#142036)
Fix homeassistant_hardware handling and add missing test_all requirements
1 parent 4ab31e2 commit 1ab8def

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

requirements_test_all.txt

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

script/gen_requirements_all.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,8 @@ def has_tests(module: str) -> bool:
266266
Test if exists: tests/components/hue/__init__.py
267267
"""
268268
path = (
269-
Path(module.replace(".", "/").replace("homeassistant", "tests")) / "__init__.py"
269+
Path(module.replace(".", "/").replace("homeassistant", "tests", 1))
270+
/ "__init__.py"
270271
)
271272
return path.exists()
272273

0 commit comments

Comments
 (0)