mirror of
https://github.com/home-assistant/core.git
synced 2026-12-02 19:57:03 -04:00
Update the Magic Home discovery test docstrings (#195731)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user