From 026687299d10a88aa11339db983db85b1b5e43f0 Mon Sep 17 00:00:00 2001 From: Guido Schmitz Date: Mon, 12 May 2025 21:28:40 +0200 Subject: [PATCH] Assert resulting data in devolo Home Network test_form_reauth (#144760) --- tests/components/devolo_home_network/test_config_flow.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/components/devolo_home_network/test_config_flow.py b/tests/components/devolo_home_network/test_config_flow.py index 16d3e6a8b9e..589a828f29f 100644 --- a/tests/components/devolo_home_network/test_config_flow.py +++ b/tests/components/devolo_home_network/test_config_flow.py @@ -303,5 +303,4 @@ async def test_form_reauth(hass: HomeAssistant) -> None: assert result3["type"] is FlowResultType.ABORT assert result3["reason"] == "reauth_successful" assert len(mock_setup_entry.mock_calls) == 1 - - await hass.config_entries.async_unload(entry.entry_id) + assert entry.data[CONF_PASSWORD] == "test-right-password"