mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 17:18:23 +00:00
Fix ssdp flow test context arg
This commit is contained in:
parent
942cbc6051
commit
b9aa30a35b
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user