Prevent opening of sockets in watttime tests (#57040)

This commit is contained in:
Erik Montnemery 2021-10-04 15:09:42 +02:00 committed by GitHub
parent bdf6c79062
commit 70f4bdf63e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,7 @@ async def test_duplicate_error(hass: HomeAssistant, client_login):
assert result["reason"] == "already_configured" assert result["reason"] == "already_configured"
async def test_show_form_coordinates(hass: HomeAssistant) -> None: async def test_show_form_coordinates(hass: HomeAssistant, client_login) -> None:
"""Test showing the form to input custom latitude/longitude.""" """Test showing the form to input custom latitude/longitude."""
result = await hass.config_entries.flow.async_init( result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": config_entries.SOURCE_USER} DOMAIN, context={"source": config_entries.SOURCE_USER}