Fix rfxtrx flaky reconnect test (#111635)
This commit is contained in:
parent
887182c224
commit
00d11ff68e
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue