mirror of
https://github.com/home-assistant/core.git
synced 2025-11-25 10:37:59 +00:00
Use ConfigEntry runtime_data in TwenteMilieu (#116642)
This commit is contained in:
@@ -4,7 +4,6 @@ from unittest.mock import MagicMock, patch
|
||||
|
||||
import pytest
|
||||
|
||||
from homeassistant.components.twentemilieu.const import DOMAIN
|
||||
from homeassistant.config_entries import ConfigEntryState
|
||||
from homeassistant.core import HomeAssistant
|
||||
|
||||
@@ -26,7 +25,6 @@ async def test_load_unload_config_entry(
|
||||
await hass.config_entries.async_unload(mock_config_entry.entry_id)
|
||||
await hass.async_block_till_done()
|
||||
|
||||
assert not hass.data.get(DOMAIN)
|
||||
assert mock_config_entry.state is ConfigEntryState.NOT_LOADED
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user