mirror of
https://github.com/home-assistant/core.git
synced 2025-11-27 19:48:01 +00:00
Improve type hints in logbook tests (#123652)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user