Fix flaky tplink stored credentials test (#184653)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
epenet
2026-10-07 10:13:15 +02:00
committed by GitHub
co-authored by Claude Opus 5.5
parent 9777919fdb
commit cab745f0e9
+1 -1
View File
@@ -244,7 +244,7 @@ async def test_config_entry_with_stored_credentials(
override_side_effect(mock_discovery["discover"], lambda *_, **__: {}),
):
await hass.config_entries.async_setup(mock_config_entry.entry_id)
await hass.async_block_till_done()
await hass.async_block_till_done(wait_background_tasks=True)
assert mock_config_entry.state is ConfigEntryState.LOADED
config = DeviceConfig.from_dict(DEVICE_CONFIG_KLAP.to_dict())
config.http_client = "Foo"