Remove redundant mock_storage fixture from mqtt_statestream tests (#42652)

This commit is contained in:
Adrian Suwała 2020-10-31 15:28:06 +01:00 committed by GitHub
parent f1bb7b4a0f
commit d67d8e76dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,