spelling: components/androidtv (#64267)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>pull/63824/head
parent
54128b5765
commit
3f43df1348
|
@ -270,7 +270,7 @@ async def test_error_invalid_host(hass):
|
|||
|
||||
|
||||
async def test_invalid_serial(hass):
|
||||
"""Test for invallid serialno."""
|
||||
"""Test for invalid serialno."""
|
||||
with patch(
|
||||
CONNECT_METHOD,
|
||||
return_value=(MockConfigDevice(eth_mac=""), None),
|
||||
|
|
|
@ -1192,7 +1192,7 @@ async def test_exception(hass):
|
|||
assert state is not None
|
||||
assert state.state == STATE_OFF
|
||||
|
||||
# When an unforessen exception occurs, we close the ADB connection and raise the exception
|
||||
# When an unforeseen exception occurs, we close the ADB connection and raise the exception
|
||||
with patchers.PATCH_ANDROIDTV_UPDATE_EXCEPTION, pytest.raises(Exception):
|
||||
await hass.helpers.entity_component.async_update_entity(entity_id)
|
||||
state = hass.states.get(entity_id)
|
||||
|
|
Loading…
Reference in New Issue