Bump codespell from v1.16.0 to v1.17.1 and fix new spelling errors (#38663)
This commit is contained in:
1 parent
da89fa7884
commit
0427d87ba4
14 files changed
+18
-18
No files matched your search
@@ -764,7 +764,7 @@ async def test_automation_with_bad_trigger(hass, caplog):
|
||||
|
||||
|
||||
async def test_websocket_device_not_found(hass, hass_ws_client):
|
||||
"""Test caling command with unknown device."""
|
||||
"""Test calling command with unknown device."""
|
||||
await async_setup_component(hass, "device_automation", {})
|
||||
client = await hass_ws_client(hass)
|
||||
await client.send_json(
|
||||
|
||||
@@ -694,7 +694,7 @@ async def test_play_media_playlist(
|
||||
await setup_platform(hass, config_entry, config)
|
||||
player = controller.players[1]
|
||||
playlist = playlists[0]
|
||||
# Play without enqueing
|
||||
# Play without enqueuing
|
||||
await hass.services.async_call(
|
||||
MEDIA_PLAYER_DOMAIN,
|
||||
SERVICE_PLAY_MEDIA,
|
||||
@@ -708,7 +708,7 @@ async def test_play_media_playlist(
|
||||
player.add_to_queue.assert_called_once_with(
|
||||
playlist, const.ADD_QUEUE_REPLACE_AND_PLAY
|
||||
)
|
||||
# Play with enqueing
|
||||
# Play with enqueuing
|
||||
player.add_to_queue.reset_mock()
|
||||
await hass.services.async_call(
|
||||
MEDIA_PLAYER_DOMAIN,
|
||||
|
||||
@@ -50,7 +50,7 @@ def test_recorder_bad_execute(hass_recorder):
|
||||
hass_recorder()
|
||||
|
||||
def to_native(validate_entity_id=True):
|
||||
"""Rasie exception."""
|
||||
"""Raise exception."""
|
||||
raise SQLAlchemyError()
|
||||
|
||||
mck1 = MagicMock()
|
||||
|
||||
@@ -180,8 +180,8 @@ def log_msg(nr=2):
|
||||
_LOGGER.error("error message %s", nr)
|
||||
|
||||
|
||||
async def test_dedup_logs(hass, simple_queue, hass_client):
|
||||
"""Test that duplicate log entries are dedup."""
|
||||
async def test_dedupe_logs(hass, simple_queue, hass_client):
|
||||
"""Test that duplicate log entries are dedupe."""
|
||||
await async_setup_component(hass, system_log.DOMAIN, {})
|
||||
_LOGGER.error("error message 1")
|
||||
log_msg()
|
||||
|
||||
@@ -17,7 +17,7 @@ async def test_async_add_entities_retry(hass: HomeAssistantType):
|
||||
objects = ["Object 1", "Object 2", "Object 3", "Object 4"]
|
||||
|
||||
# For each call to async_add_entities_callback, the following side effects
|
||||
# will be triggered in order. This set of side effects accuratley simulates
|
||||
# will be triggered in order. This set of side effects accurateley simulates
|
||||
# 3 attempts to add all entities while also handling several return types.
|
||||
# To help understand what's going on, a comment exists describing what the
|
||||
# object list looks like throughout the iterations.
|
||||
|
||||
Reference in new issue
Block a user