Improve after_dependencies handling (#36898)
This commit is contained in:
1 parent
93272e3083
commit
5642027ffb
9 files changed
+377
-166
No files matched your search
@@ -991,6 +991,8 @@ def mock_integration(hass, module):
|
||||
hass.data.setdefault(loader.DATA_INTEGRATIONS, {})[module.DOMAIN] = integration
|
||||
hass.data.setdefault(loader.DATA_COMPONENTS, {})[module.DOMAIN] = module
|
||||
|
||||
return integration
|
||||
|
||||
|
||||
def mock_entity_platform(hass, platform_path, module):
|
||||
"""Mock a entity platform.
|
||||
|
||||
Reference in new issue
Block a user