mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
Fix rfxtrx flaky reconnect test (#111635)
This commit is contained in:
@@ -212,6 +212,7 @@ async def test_reconnect(rfxtrx, hass: HomeAssistant) -> None:
|
|||||||
rfxtrx.event_callback,
|
rfxtrx.event_callback,
|
||||||
rfxtrxmod.ConnectionLost(),
|
rfxtrxmod.ConnectionLost(),
|
||||||
)
|
)
|
||||||
|
await hass.async_block_till_done()
|
||||||
|
|
||||||
assert config_entry.state is ConfigEntryState.LOADED
|
assert config_entry.state is ConfigEntryState.LOADED
|
||||||
rfxtrx.connect.call_count = 2
|
rfxtrx.connect.call_count = 2
|
||||||
|
Reference in New Issue
Block a user