From 200e140e8094fb645923c6430c057b3052076100 Mon Sep 17 00:00:00 2001 From: Ziv <16467659+ziv1234@users.noreply.github.com> Date: Mon, 13 Apr 2020 00:10:05 +0300 Subject: [PATCH] Fixed uncaught exceptions for demo (#34117) --- tests/components/demo/test_init.py | 1 + tests/ignore_uncaught_exceptions.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/components/demo/test_init.py b/tests/components/demo/test_init.py index 5644aa891eb..420707e54d0 100644 --- a/tests/components/demo/test_init.py +++ b/tests/components/demo/test_init.py @@ -29,6 +29,7 @@ def demo_cleanup(hass): async def test_setting_up_demo(hass): """Test if we can set up the demo and dump it to JSON.""" assert await async_setup_component(hass, DOMAIN, {DOMAIN: {}}) + await hass.async_block_till_done() await hass.async_start() # This is done to make sure entity components don't accidentally store diff --git a/tests/ignore_uncaught_exceptions.py b/tests/ignore_uncaught_exceptions.py index 77451fc1f68..3b569ebaedd 100644 --- a/tests/ignore_uncaught_exceptions.py +++ b/tests/ignore_uncaught_exceptions.py @@ -1,6 +1,5 @@ """List of modules that have uncaught exceptions today. Will be shrunk over time.""" IGNORE_UNCAUGHT_EXCEPTIONS = [ - ("tests.components.demo.test_init", "test_setting_up_demo"), ("tests.components.dyson.test_air_quality", "test_purecool_aiq_attributes"), ("tests.components.dyson.test_air_quality", "test_purecool_aiq_update_state"), (