mirror of
https://github.com/home-assistant/core.git
synced 2025-08-02 12:15:08 +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:
|
async def async_step_mqtt(self, discovery_info: MqttServiceInfo) -> FlowResult:
|
||||||
"""Test mqtt step."""
|
"""Test mqtt step."""
|
||||||
|
await asyncio.sleep(0.1)
|
||||||
return self.async_abort(reason="already_configured")
|
return self.async_abort(reason="already_configured")
|
||||||
|
|
||||||
with mock_config_flow("comp", TestFlow):
|
with mock_config_flow("comp", TestFlow):
|
||||||
|
Reference in New Issue
Block a user