mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 04:50:05 +00:00
Pass hass_config to load_platform (#17952)
* Pass hass_config to load_platform * Fix tests * Lint
This commit is contained in:
@@ -131,7 +131,7 @@ class TestHelpersEntityComponent(unittest.TestCase):
|
||||
component.setup({})
|
||||
|
||||
discovery.load_platform(self.hass, DOMAIN, 'platform_test',
|
||||
{'msg': 'discovery_info'})
|
||||
{'msg': 'discovery_info'}, {DOMAIN: {}})
|
||||
|
||||
self.hass.block_till_done()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user