mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 09:17:10 +00:00
Patch Z-Wave platforms in api tests (#140988)
This commit is contained in:
parent
d8a4a97ee0
commit
df0125abdd
@ -103,6 +103,12 @@ from tests.typing import ClientSessionGenerator, WebSocketGenerator
|
|||||||
CONTROLLER_PATCH_PREFIX = "zwave_js_server.model.controller.Controller"
|
CONTROLLER_PATCH_PREFIX = "zwave_js_server.model.controller.Controller"
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.fixture
|
||||||
|
def platforms() -> list[str]:
|
||||||
|
"""Fixture to specify platforms to test."""
|
||||||
|
return []
|
||||||
|
|
||||||
|
|
||||||
def get_device(hass: HomeAssistant, node):
|
def get_device(hass: HomeAssistant, node):
|
||||||
"""Get device ID for a node."""
|
"""Get device ID for a node."""
|
||||||
dev_reg = dr.async_get(hass)
|
dev_reg = dr.async_get(hass)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user