Bump zwave-js-server-python to 0.41.0 (#76903)

This commit is contained in:
Raman Gupta
2022-08-27 21:27:41 -04:00
committed by GitHub
parent 7f1a203721
commit eab0ff5185
5 changed files with 14 additions and 12 deletions

View File

@@ -6,6 +6,7 @@ from unittest.mock import patch
import pytest
from zwave_js_server.const import (
ExclusionStrategy,
InclusionState,
InclusionStrategy,
LogLevel,
@@ -68,8 +69,8 @@ from homeassistant.components.zwave_js.api import (
SECURITY_CLASSES,
SPECIFIC_DEVICE_CLASS,
STATUS,
STRATEGY,
TYPE,
UNPROVISION,
VALUE,
VERSION,
)
@@ -1528,7 +1529,7 @@ async def test_remove_node(
ID: 2,
TYPE: "zwave_js/remove_node",
ENTRY_ID: entry.entry_id,
UNPROVISION: True,
STRATEGY: ExclusionStrategy.EXCLUDE_ONLY,
}
)
@@ -1538,7 +1539,7 @@ async def test_remove_node(
assert len(client.async_send_command.call_args_list) == 1
assert client.async_send_command.call_args[0][0] == {
"command": "controller.begin_exclusion",
"unprovision": True,
"strategy": 0,
}
# Test FailedZWaveCommand is caught