Bump zwave-js-server-python to 0.25.1 (#51097)
* Bump zwave-js-server-python to 0.25.1 * update fixtures
This commit is contained in:
parent
789a14fc44
commit
1de0d20a76
4 changed files with 17 additions and 5 deletions
|
@ -3,7 +3,7 @@
|
|||
"name": "Z-Wave JS",
|
||||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/integrations/zwave_js",
|
||||
"requirements": ["zwave-js-server-python==0.25.0"],
|
||||
"requirements": ["zwave-js-server-python==0.25.1"],
|
||||
"codeowners": ["@home-assistant/z-wave"],
|
||||
"dependencies": ["http", "websocket_api"],
|
||||
"iot_class": "local_push"
|
||||
|
|
|
@ -2442,4 +2442,4 @@ zigpy==0.33.0
|
|||
zm-py==0.5.2
|
||||
|
||||
# homeassistant.components.zwave_js
|
||||
zwave-js-server-python==0.25.0
|
||||
zwave-js-server-python==0.25.1
|
||||
|
|
|
@ -1324,4 +1324,4 @@ zigpy-znp==0.5.1
|
|||
zigpy==0.33.0
|
||||
|
||||
# homeassistant.components.zwave_js
|
||||
zwave-js-server-python==0.25.0
|
||||
zwave-js-server-python==0.25.1
|
||||
|
|
|
@ -153,6 +153,18 @@ def version_state_fixture():
|
|||
}
|
||||
|
||||
|
||||
@pytest.fixture(name="log_config_state")
|
||||
def log_config_state_fixture():
|
||||
"""Return log config state fixture data."""
|
||||
return {
|
||||
"enabled": True,
|
||||
"level": "info",
|
||||
"logToFile": False,
|
||||
"filename": "",
|
||||
"forceConsole": False,
|
||||
}
|
||||
|
||||
|
||||
@pytest.fixture(name="multisensor_6_state", scope="session")
|
||||
def multisensor_6_state_fixture():
|
||||
"""Load the multisensor 6 node state fixture data."""
|
||||
|
@ -371,7 +383,7 @@ def wallmote_central_scene_state_fixture():
|
|||
|
||||
|
||||
@pytest.fixture(name="client")
|
||||
def mock_client_fixture(controller_state, version_state):
|
||||
def mock_client_fixture(controller_state, version_state, log_config_state):
|
||||
"""Mock a client."""
|
||||
|
||||
with patch(
|
||||
|
@ -394,7 +406,7 @@ def mock_client_fixture(controller_state, version_state):
|
|||
client.connect = AsyncMock(side_effect=connect)
|
||||
client.listen = AsyncMock(side_effect=listen)
|
||||
client.disconnect = AsyncMock(side_effect=disconnect)
|
||||
client.driver = Driver(client, controller_state)
|
||||
client.driver = Driver(client, controller_state, log_config_state)
|
||||
|
||||
client.version = VersionInfo.from_message(version_state)
|
||||
client.ws_server_url = "ws://test:3000/zjs"
|
||||
|
|
Loading…
Add table
Reference in a new issue