mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Cleanup unused hass_storage
mocks in mqtt tests (#124846)
This commit is contained in:
parent
1101e7ef64
commit
1cb9690001
@ -37,11 +37,6 @@ from tests.common import (
|
|||||||
from tests.typing import MqttMockHAClient, MqttMockHAClientGenerator, MqttMockPahoClient
|
from tests.typing import MqttMockHAClient, MqttMockHAClientGenerator, MqttMockPahoClient
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(autouse=True)
|
|
||||||
def mock_storage(hass_storage: dict[str, Any]) -> None:
|
|
||||||
"""Autouse hass_storage for the TestCase tests."""
|
|
||||||
|
|
||||||
|
|
||||||
def help_assert_message(
|
def help_assert_message(
|
||||||
msg: ReceiveMessage,
|
msg: ReceiveMessage,
|
||||||
topic: str | None = None,
|
topic: str | None = None,
|
||||||
|
@ -77,11 +77,6 @@ class _DebugInfo(TypedDict):
|
|||||||
config: _DebugDeviceInfo
|
config: _DebugDeviceInfo
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(autouse=True)
|
|
||||||
def mock_storage(hass_storage: dict[str, Any]) -> None:
|
|
||||||
"""Autouse hass_storage for the TestCase tests."""
|
|
||||||
|
|
||||||
|
|
||||||
async def test_command_template_value(hass: HomeAssistant) -> None:
|
async def test_command_template_value(hass: HomeAssistant) -> None:
|
||||||
"""Test the rendering of MQTT command template."""
|
"""Test the rendering of MQTT command template."""
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user