1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Drop use of async_mock_mqtt_component (#37011)

This commit is contained in:
Erik Montnemery
2020-06-22 23:59:50 +02:00
committed by GitHub
parent a2e2c35011
commit 280f49540e
25 changed files with 126 additions and 209 deletions

View File

@@ -664,7 +664,7 @@ async def test_discovery_update_attr(hass, mqtt_mock, caplog):
)
async def test_unique_id(hass):
async def test_unique_id(hass, mqtt_mock):
"""Test unique_id option only creates one fan per id."""
config = {
fan.DOMAIN: [
@@ -684,7 +684,7 @@ async def test_unique_id(hass):
},
]
}
await help_test_unique_id(hass, fan.DOMAIN, config)
await help_test_unique_id(hass, mqtt_mock, fan.DOMAIN, config)
async def test_discovery_removal_fan(hass, mqtt_mock, caplog):