Add freezer to known test fixtures in pylint (#89825)
Add freezer to known fixtures in pylint
This commit is contained in:
parent
e16f17f5a8
commit
ff8b91aeea
14 changed files with 61 additions and 31 deletions
|
@ -5,6 +5,7 @@ from datetime import timedelta
|
|||
import json
|
||||
from unittest.mock import ANY, patch
|
||||
|
||||
from freezegun.api import FrozenDateTimeFactory
|
||||
import pytest
|
||||
|
||||
from homeassistant.components.homeassistant_alerts import (
|
||||
|
@ -291,7 +292,7 @@ async def test_alerts_refreshed_on_component_load(
|
|||
late_components,
|
||||
initial_alerts,
|
||||
late_alerts,
|
||||
freezer,
|
||||
freezer: FrozenDateTimeFactory,
|
||||
) -> None:
|
||||
"""Test alerts are refreshed when components are loaded."""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue