Improve test coverage mqtt discovery test (#114188)
This commit is contained in:
parent
121182167f
commit
18174ad47d
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue