Mock Module + Platform default to async (#12347)
* Mock Module + Platform default to async * Change checks
This commit is contained in:
parent
48f40453f7
commit
870728f68f
2 changed files with 13 additions and 16 deletions
|
@ -331,7 +331,7 @@ def test_parallel_updates_async_platform_with_constant(hass):
|
|||
@asyncio.coroutine
|
||||
def test_parallel_updates_sync_platform(hass):
|
||||
"""Warn we log when platform setup takes a long time."""
|
||||
platform = MockPlatform()
|
||||
platform = MockPlatform(setup_platform=lambda *args: None)
|
||||
|
||||
loader.set_component('test_domain.platform', platform)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue