From 1cacca65687eb1ed8eb8ef62c0fb77cc6ba76079 Mon Sep 17 00:00:00 2001 From: dmonego Date: Tue, 20 Oct 2020 22:07:48 -0400 Subject: [PATCH] Update mqtt_eventstream tests to pytest style functions (#42119) --- tests/components/mqtt_eventstream/test_init.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/components/mqtt_eventstream/test_init.py b/tests/components/mqtt_eventstream/test_init.py index 87139a0f3ee..87ac4696a31 100644 --- a/tests/components/mqtt_eventstream/test_init.py +++ b/tests/components/mqtt_eventstream/test_init.py @@ -1,8 +1,6 @@ """The tests for the MQTT eventstream component.""" import json -import pytest - import homeassistant.components.mqtt_eventstream as eventstream from homeassistant.const import EVENT_STATE_CHANGED from homeassistant.core import State, callback @@ -18,11 +16,6 @@ from tests.common import ( ) -@pytest.fixture(autouse=True) -def mock_storage(hass_storage): - """Autouse hass_storage for the TestCase tests.""" - - async def add_eventstream(hass, sub_topic=None, pub_topic=None, ignore_event=None): """Add a mqtt_eventstream component.""" config = {}