From d67d8e76dd31e6169a877449fad907929242276e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Suwa=C5=82a?= <63507293+adriansuwala@users.noreply.github.com> Date: Sat, 31 Oct 2020 15:28:06 +0100 Subject: [PATCH] Remove redundant mock_storage fixture from mqtt_statestream tests (#42652) --- tests/components/mqtt_statestream/test_init.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/components/mqtt_statestream/test_init.py b/tests/components/mqtt_statestream/test_init.py index a3b3c1ccfea..cea4b492f3e 100644 --- a/tests/components/mqtt_statestream/test_init.py +++ b/tests/components/mqtt_statestream/test_init.py @@ -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,