Fix typos in devolo Home Network tests (#133139)
parent
5d8e997319
commit
579ac01eb1
|
@ -139,7 +139,7 @@ async def test_abort_zeroconf_wrong_device(hass: HomeAssistant) -> None:
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.usefixtures("info")
|
@pytest.mark.usefixtures("info")
|
||||||
async def test_abort_if_configued(hass: HomeAssistant) -> None:
|
async def test_abort_if_configured(hass: HomeAssistant) -> None:
|
||||||
"""Test we abort config flow if already configured."""
|
"""Test we abort config flow if already configured."""
|
||||||
serial_number = DISCOVERY_INFO.properties["SN"]
|
serial_number = DISCOVERY_INFO.properties["SN"]
|
||||||
entry = MockConfigEntry(
|
entry = MockConfigEntry(
|
||||||
|
|
|
@ -141,7 +141,7 @@ async def test_device_failure_update(
|
||||||
|
|
||||||
|
|
||||||
async def test_auth_failed(hass: HomeAssistant, mock_device: MockDevice) -> None:
|
async def test_auth_failed(hass: HomeAssistant, mock_device: MockDevice) -> None:
|
||||||
"""Test updating unautherized triggers the reauth flow."""
|
"""Test updating unauthorized triggers the reauth flow."""
|
||||||
entry = configure_integration(hass)
|
entry = configure_integration(hass)
|
||||||
device_name = entry.title.replace(" ", "_").lower()
|
device_name = entry.title.replace(" ", "_").lower()
|
||||||
state_key = f"{PLATFORM}.{device_name}_firmware"
|
state_key = f"{PLATFORM}.{device_name}_firmware"
|
||||||
|
|
Loading…
Reference in New Issue