From c33e3ce212a119c73f2f20cc2d782278a877492f Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Fri, 4 Aug 2023 11:21:57 +0200 Subject: [PATCH] Fix core test RuntimeWarnings (#97730) --- tests/test_core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_core.py b/tests/test_core.py index 7e0766c8ac5..488975ef02f 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -1247,7 +1247,7 @@ async def test_serviceregistry_async_service_raise_exception( await hass.services.async_call("test_domain", "REGISTER_CALLS", blocking=True) # Non-blocking service call never throw exception - hass.services.async_call("test_domain", "REGISTER_CALLS", blocking=False) + await hass.services.async_call("test_domain", "REGISTER_CALLS", blocking=False) await hass.async_block_till_done() @@ -1267,7 +1267,7 @@ async def test_serviceregistry_callback_service_raise_exception( await hass.services.async_call("test_domain", "REGISTER_CALLS", blocking=True) # Non-blocking service call never throw exception - hass.services.async_call("test_domain", "REGISTER_CALLS", blocking=False) + await hass.services.async_call("test_domain", "REGISTER_CALLS", blocking=False) await hass.async_block_till_done()