mirror of
https://github.com/home-assistant/core.git
synced 2026-12-02 19:57:03 -04:00
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
22 lines
705 B
Python
22 lines
705 B
Python
"""The tests for the WSDOT platform."""
|
|
|
|
from unittest.mock import AsyncMock
|
|
|
|
from pytest_homeassistant.common import MockConfigEntry, snapshot_platform
|
|
from syrupy.assertion import SnapshotAssertion
|
|
|
|
from homeassistant.core import HomeAssistant
|
|
from homeassistant.helpers import entity_registry as er
|
|
|
|
|
|
async def test_travel_sensor_details(
|
|
hass: HomeAssistant,
|
|
mock_travel_time: AsyncMock,
|
|
init_integration: MockConfigEntry,
|
|
snapshot: SnapshotAssertion,
|
|
entity_registry: er.EntityRegistry,
|
|
mock_config_entry: MockConfigEntry,
|
|
) -> None:
|
|
"""Test the wsdot Travel Time sensor details."""
|
|
await snapshot_platform(hass, entity_registry, snapshot, mock_config_entry.entry_id)
|