mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +00:00
Fix rfxtrx flaky reconnect test (#111635)
This commit is contained in:
parent
887182c224
commit
00d11ff68e
@ -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…
x
Reference in New Issue
Block a user