Improve type hints in logbook tests (#123652)
This commit is contained in:
parent
e8d7eb05ae
commit
ecf22e4c4f
2 changed files with 93 additions and 67 deletions
|
@ -48,12 +48,6 @@ from tests.components.recorder.common import (
|
|||
from tests.typing import RecorderInstanceGenerator, WebSocketGenerator
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
async def set_utc(hass):
|
||||
"""Set timezone to UTC."""
|
||||
await hass.config.async_set_time_zone("UTC")
|
||||
|
||||
|
||||
def listeners_without_writes(listeners: dict[str, int]) -> dict[str, int]:
|
||||
"""Return listeners without final write listeners since we are not testing for these."""
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue