1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-28 22:06:25 +00:00

Fix libre_hardware_monitor tests opening sockets (#155897)

This commit is contained in:
Erik Montnemery
2025-11-06 21:09:20 +01:00
committed by GitHub
parent e09c35c177
commit dffbdf15f2

View File

@@ -1,6 +1,6 @@
"""Tests for the LibreHardwareMonitor init."""
import logging
import pytest
from homeassistant.components.libre_hardware_monitor.const import DOMAIN
from homeassistant.core import HomeAssistant
@@ -11,9 +11,8 @@ from .conftest import VALID_CONFIG
from tests.common import MockConfigEntry
_LOGGER = logging.getLogger(__name__)
@pytest.mark.usefixtures("mock_lhm_client")
async def test_migration_to_unique_ids(
hass: HomeAssistant,
entity_registry: er.EntityRegistry,