Skip to content

Commit

Permalink
docstring fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
farmio committed Sep 19, 2024
1 parent 53a5024 commit afd3593
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/components/knx/test_light.py
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,7 @@ async def test_light_ui_create(
knx: KNXTestKit,
create_ui_entity: KnxEntityGenerator,
) -> None:
"""Test creating a switch."""
"""Test creating a light."""
await knx.setup_integration({})
await create_ui_entity(
platform=Platform.LIGHT,
Expand Down Expand Up @@ -1193,7 +1193,7 @@ async def test_light_ui_color_temp(
color_temp_mode: str,
raw_ct: tuple[int, ...],
) -> None:
"""Test creating a switch."""
"""Test creating a color-temp light."""
await knx.setup_integration({})
await create_ui_entity(
platform=Platform.LIGHT,
Expand Down Expand Up @@ -1227,7 +1227,7 @@ async def test_light_ui_load(
load_config_store: None,
entity_registry: er.EntityRegistry,
) -> None:
"""Test device removal."""
"""Test loading a light from storage."""
await knx.setup_integration({})

await knx.assert_read("1/0/45", response=True) # test switch - unrelated here

Check failure on line 1233 in tests/components/knx/test_light.py

View workflow job for this annotation

GitHub Actions / Run tests Python 3.12 (knx)

test_light_ui_load AssertionError: Group address mismatch in <Telegram direction="Outgoing" source_address="0.0.0" destination_address="1/0/21" payload="<GroupValueRead />" /> - Expected: 1/0/45 assert '1/0/21' == '1/0/45' - 1/0/45 + 1/0/21
Expand Down

0 comments on commit afd3593

Please sign in to comment.