mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +00:00
Fix lingering timer in config entries test (#89787)
This commit is contained in:
parent
a591f64258
commit
8a58457203
@ -3210,6 +3210,9 @@ async def test_setup_retrying_during_shutdown(hass: HomeAssistant) -> None:
|
||||
|
||||
assert len(mock_call.return_value.mock_calls) == 0
|
||||
|
||||
# Cleanup to avoid lingering timer
|
||||
entry.async_cancel_retry_setup()
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
("matchers", "reason"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user