1
0
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:
Paulus Schoutsen
2018-10-29 19:21:21 +01:00
committed by GitHub
parent b03e6050c5
commit 6ae345b01c
21 changed files with 70 additions and 56 deletions

View File

@@ -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()