From 18174ad47ded1368f4d5e7f883b80c9607a88e61 Mon Sep 17 00:00:00 2001 From: Jan Bouwhuis Date: Mon, 25 Mar 2024 22:41:11 +0100 Subject: [PATCH] Improve test coverage mqtt discovery test (#114188) --- tests/components/mqtt/test_discovery.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/components/mqtt/test_discovery.py b/tests/components/mqtt/test_discovery.py index 3d3baf1307c..baa3542a22d 100644 --- a/tests/components/mqtt/test_discovery.py +++ b/tests/components/mqtt/test_discovery.py @@ -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):