Store: copy pending data (#59934)
This commit is contained in:
parent
0fb21af07f
commit
442597928e
8 changed files with 42 additions and 11 deletions
|
@ -14,7 +14,7 @@ from .test_controller import (
|
|||
setup_unifi_integration,
|
||||
)
|
||||
|
||||
from tests.common import MockConfigEntry
|
||||
from tests.common import MockConfigEntry, flush_store
|
||||
|
||||
|
||||
async def test_setup_with_no_config(hass):
|
||||
|
@ -110,6 +110,7 @@ async def test_wireless_clients(hass, hass_storage, aioclient_mock):
|
|||
config_entry = await setup_unifi_integration(
|
||||
hass, aioclient_mock, clients_response=[client_1, client_2]
|
||||
)
|
||||
await flush_store(hass.data[unifi.UNIFI_WIRELESS_CLIENTS]._store)
|
||||
|
||||
for mac in [
|
||||
"00:00:00:00:00:00",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue