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:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user