Remove redundant mock_storage fixture from mqtt_statestream tests (#42652)
parent
f1bb7b4a0f
commit
d67d8e76dd
|
@ -1,6 +1,4 @@
|
||||||
"""The tests for the MQTT statestream component."""
|
"""The tests for the MQTT statestream component."""
|
||||||
import pytest
|
|
||||||
|
|
||||||
import homeassistant.components.mqtt_statestream as statestream
|
import homeassistant.components.mqtt_statestream as statestream
|
||||||
from homeassistant.core import State
|
from homeassistant.core import State
|
||||||
from homeassistant.setup import async_setup_component
|
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
|
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(
|
async def add_statestream(
|
||||||
hass,
|
hass,
|
||||||
base_topic=None,
|
base_topic=None,
|
||||||
|
|
Loading…
Reference in New Issue