1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Remove device_registry fixture from zwave_js tests (#51072)

This commit is contained in:
Raman Gupta
2021-05-25 11:48:21 -04:00
committed by GitHub
parent 727ca79b93
commit c0234df136
2 changed files with 15 additions and 33 deletions

View File

@@ -10,8 +10,6 @@ from zwave_js_server.model.driver import Driver
from zwave_js_server.model.node import Node
from zwave_js_server.version import VersionInfo
from homeassistant.helpers.device_registry import async_get as async_get_device_registry
from tests.common import MockConfigEntry, load_fixture
# Add-on fixtures
@@ -137,12 +135,6 @@ def create_snapshot_fixture():
yield create_shapshot
@pytest.fixture(name="device_registry")
async def device_registry_fixture(hass):
"""Return the device registry."""
return async_get_device_registry(hass)
@pytest.fixture(name="controller_state", scope="session")
def controller_state_fixture():
"""Load the controller state fixture data."""