mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 04:35:11 +02:00
Fix lingering timer in config entries test (#89787)
This commit is contained in:
@@ -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"),
|
||||
|
Reference in New Issue
Block a user