Unregister Google sheets services during unload (#79314)
* Unregister services during unload - Google Sheets * uno mas
This commit is contained in:
parent
ba6a81c565
commit
d7d6637d79
2 changed files with 11 additions and 1 deletions
|
@ -80,6 +80,7 @@ async def mock_setup_integration(
|
|||
assert len(entries) == 1
|
||||
await hass.config_entries.async_unload(entries[0].entry_id)
|
||||
await hass.async_block_till_done()
|
||||
assert not len(hass.services.async_services().get(DOMAIN, {}))
|
||||
|
||||
assert not hass.data.get(DOMAIN)
|
||||
assert entries[0].state is ConfigEntryState.NOT_LOADED
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue