Tweak hassfest codeowners script (#68382)
This commit is contained in:
parent
3c10ac308d
commit
40484a3483
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ def generate_and_validate(integrations: dict[str, Integration], config: Config):
|
|||
|
||||
parts.append(f"homeassistant/components/{domain}/* {' '.join(codeowners)}")
|
||||
|
||||
if (config.root / "tests/components" / domain).exists():
|
||||
if (config.root / "tests/components" / domain / "__init__.py").exists():
|
||||
parts.append(f"tests/components/{domain}/* {' '.join(codeowners)}")
|
||||
|
||||
parts.append(f"\n{INDIVIDUAL_FILES.strip()}")
|
||||
|
|
Loading…
Add table
Reference in a new issue