mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
Remove redundant mock_storage fixture from mqtt_statestream tests (#42652)
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user