diff --git a/tests/components/huawei_lte/test_config_flow.py b/tests/components/huawei_lte/test_config_flow.py index e40a3ca5a01..647fd0c0046 100644 --- a/tests/components/huawei_lte/test_config_flow.py +++ b/tests/components/huawei_lte/test_config_flow.py @@ -332,7 +332,7 @@ async def test_ssdp( ) -> None: """Test SSDP discovery initiates config properly.""" url = FIXTURE_USER_INPUT[CONF_URL][:-1] # strip trailing slash for appending port - context = {"source": config_entries.SOURCE_SSDP} + context = config_entries.ConfigFlowContext(source=config_entries.SOURCE_SSDP) login_requests_mock.request(**requests_mock_request_kwargs) service_info = SsdpServiceInfo( ssdp_usn="mock_usn",