mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 01:38:02 +00:00
Ensure entry is unloaded in azure event hub tests (#91224)
This commit is contained in:
parent
524832ceaf
commit
7f62ed15fa
@ -59,7 +59,10 @@ async def mock_entry_fixture(hass, filter_schema, mock_create_batch, mock_send_b
|
||||
utcnow() + timedelta(seconds=entry.options[CONF_SEND_INTERVAL]),
|
||||
)
|
||||
await hass.async_block_till_done()
|
||||
return entry
|
||||
|
||||
yield entry
|
||||
|
||||
await entry.async_unload(hass)
|
||||
|
||||
|
||||
# fixtures for init tests
|
||||
|
Loading…
x
Reference in New Issue
Block a user