Bump python-kasa to 0.5.4 for tplink (#103038)
This commit is contained in:
parent
e880ad7bda
commit
f944c68e01
4 changed files with 6 additions and 4 deletions
|
@ -29,7 +29,9 @@ from tests.common import MockConfigEntry, async_fire_time_changed
|
|||
|
||||
async def test_configuring_tplink_causes_discovery(hass: HomeAssistant) -> None:
|
||||
"""Test that specifying empty config does discovery."""
|
||||
with patch("homeassistant.components.tplink.Discover.discover") as discover:
|
||||
with patch("homeassistant.components.tplink.Discover.discover") as discover, patch(
|
||||
"homeassistant.components.tplink.Discover.discover_single"
|
||||
):
|
||||
discover.return_value = {MagicMock(): MagicMock()}
|
||||
await async_setup_component(hass, tplink.DOMAIN, {tplink.DOMAIN: {}})
|
||||
await hass.async_block_till_done()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue