Mock Module + Platform default to async (#12347)

* Mock Module + Platform default to async

* Change checks
This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2018-02-12 10:59:20 -08:00
1 parent 48f40453f7
commit 870728f68f
2 files changed
+13 -16

No files matched your search

+1 -1
View File
@@ -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)