Clean up unused method from SolarEdge tests (#50684)

This commit is contained in:
Franck Nijhof 2021-05-15 21:27:04 +02:00 committed by GitHub
parent 1afb0a0841
commit cad41cd4ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,6 @@ import pytest
from requests.exceptions import ConnectTimeout, HTTPError
from homeassistant import data_entry_flow
from homeassistant.components.solaredge import config_flow
from homeassistant.components.solaredge.const import CONF_SITE_ID, DEFAULT_NAME, DOMAIN
from homeassistant.config_entries import SOURCE_USER
from homeassistant.const import CONF_API_KEY, CONF_NAME
@ -27,13 +26,6 @@ def mock_controller():
yield api
def init_config_flow(hass: HomeAssistant) -> config_flow.SolarEdgeConfigFlow:
"""Init a configuration flow."""
flow = config_flow.SolarEdgeConfigFlow()
flow.hass = hass
return flow
async def test_user(hass: HomeAssistant, test_api: Mock) -> None:
"""Test user config."""
result = await hass.config_entries.flow.async_init(