Fix lingering timer in config entries test (#89787)

This commit is contained in:
epenet 2023-03-16 11:07:42 +01:00 committed by GitHub
parent a591f64258
commit 8a58457203
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"),