From 3f43df13485fb3caf7387c5ba01bb4aaa1f686c9 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 17 Jan 2022 09:28:28 -0500 Subject: [PATCH] spelling: components/androidtv (#64267) Co-authored-by: Josh Soref --- tests/components/androidtv/test_config_flow.py | 2 +- tests/components/androidtv/test_media_player.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)