Fix empty components (#23177)

This commit is contained in:
Paulus Schoutsen 2019-04-17 19:17:13 -07:00 committed by Jason Hu
parent 6bb4199824
commit 77244eab1e
2 changed files with 5 additions and 5 deletions

View file

@ -487,7 +487,7 @@ class MockModule:
def mock_manifest(self):
"""Generate a mock manifest to represent this module."""
return {
**loader.manifest_from_legacy_module(self),
**loader.manifest_from_legacy_module(self.DOMAIN, self),
**(self._partial_manifest or {})
}