mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Remove redundant mock_storage fixture from mqtt_statestream tests (#42652)
This commit is contained in:
parent
f1bb7b4a0f
commit
d67d8e76dd
@ -1,6 +1,4 @@
|
||||
"""The tests for the MQTT statestream component."""
|
||||
import pytest
|
||||
|
||||
import homeassistant.components.mqtt_statestream as statestream
|
||||
from homeassistant.core import State
|
||||
from homeassistant.setup import async_setup_component
|
||||
@ -9,11 +7,6 @@ from tests.async_mock import ANY, call
|
||||
from tests.common import mock_state_change_event
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def mock_storage(hass_storage):
|
||||
"""Autouse hass_storage for the TestCase tests."""
|
||||
|
||||
|
||||
async def add_statestream(
|
||||
hass,
|
||||
base_topic=None,
|
||||
|
Loading…
x
Reference in New Issue
Block a user