Skip to content

Commit

Permalink
Fix docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
Bre77 committed May 11, 2024
1 parent 4af2358 commit 8975c74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/components/teslemetry/test_button.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async def test_button(
snapshot: SnapshotAssertion,
entity_registry: er.EntityRegistry,
) -> None:
"""Tests that the climate entity is correct."""
"""Tests that the button entities are correct."""

entry = await setup_platform(hass, [Platform.BUTTON])
assert_entities(hass, entry.entry_id, entity_registry, snapshot, False)
Expand All @@ -37,7 +37,7 @@ async def test_button(
],
)
async def test_press(hass: HomeAssistant, name: str, func: str) -> None:
"""Test pressing all the buttons."""
"""Test pressing the API buttons."""
await setup_platform(hass, [Platform.BUTTON])

with patch(
Expand Down

0 comments on commit 8975c74

Please sign in to comment.