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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user