diff --git a/tests/components/androidtv/test_config_flow.py b/tests/components/androidtv/test_config_flow.py index ee0223300b5..757be8f6d8d 100644 --- a/tests/components/androidtv/test_config_flow.py +++ b/tests/components/androidtv/test_config_flow.py @@ -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), diff --git a/tests/components/androidtv/test_media_player.py b/tests/components/androidtv/test_media_player.py index d82539471a6..98f63dd8b4c 100644 --- a/tests/components/androidtv/test_media_player.py +++ b/tests/components/androidtv/test_media_player.py @@ -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)