mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 19:25:12 +02:00
Improve test coverage mqtt discovery test (#114188)
This commit is contained in:
@@ -1545,6 +1545,7 @@ async def test_mqtt_discovery_unsubscribe_once(
|
||||
|
||||
async def async_step_mqtt(self, discovery_info: MqttServiceInfo) -> FlowResult:
|
||||
"""Test mqtt step."""
|
||||
await asyncio.sleep(0.1)
|
||||
return self.async_abort(reason="already_configured")
|
||||
|
||||
with mock_config_flow("comp", TestFlow):
|
||||
|
Reference in New Issue
Block a user