mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Improve test coverage mqtt discovery test (#114188)
This commit is contained in:
parent
121182167f
commit
18174ad47d
@ -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):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user