Fix core test RuntimeWarnings (#97730)

pull/97701/head
Marc Mueller 2023-08-04 11:21:57 +02:00 committed by GitHub
parent e905ac173f
commit c33e3ce212
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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