mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 13:45:12 +02:00
Tweak hassfest codeowners script (#68382)
This commit is contained in:
@@ -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()}")
|
||||
|
Reference in New Issue
Block a user