mirror of
https://github.com/home-assistant/core.git
synced 2025-08-31 02:11:32 +02:00
Fix ssdp flow test context arg
This commit is contained in:
@@ -332,7 +332,7 @@ async def test_ssdp(
|
|||||||
) -> None:
|
) -> None:
|
||||||
"""Test SSDP discovery initiates config properly."""
|
"""Test SSDP discovery initiates config properly."""
|
||||||
url = FIXTURE_USER_INPUT[CONF_URL][:-1] # strip trailing slash for appending port
|
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)
|
login_requests_mock.request(**requests_mock_request_kwargs)
|
||||||
service_info = SsdpServiceInfo(
|
service_info = SsdpServiceInfo(
|
||||||
ssdp_usn="mock_usn",
|
ssdp_usn="mock_usn",
|
||||||
|
Reference in New Issue
Block a user