Update the Magic Home discovery test docstrings (#195731)

This commit is contained in:
epenet
2026-12-01 08:03:25 +01:00
committed by GitHub
parent 813ee53a14
commit 0a12afd54b
+2 -2
View File
@@ -47,7 +47,7 @@ def _broadcast_scans(scan: MagicMock) -> list:
@pytest.mark.usefixtures("mock_single_broadcast_address")
async def test_configuring_flux_led_causes_discovery(hass: HomeAssistant) -> None:
"""Test that specifying empty config does discovery."""
"""Test that setting up a config entry runs periodic discovery."""
with (
patch(
"homeassistant.components.flux_led.discovery.AIOBulbScanner.async_scan"
@@ -76,7 +76,7 @@ async def test_configuring_flux_led_causes_discovery(hass: HomeAssistant) -> Non
async def test_configuring_flux_led_causes_discovery_multiple_addresses(
hass: HomeAssistant,
) -> None:
"""Test that specifying empty config does discovery."""
"""Test that discovery scans every broadcast address."""
with (
patch(
"homeassistant.components.flux_led.discovery.AIOBulbScanner.async_scan"