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:
Raman Gupta 2021-05-26 06:37:24 -04:00 committed by GitHub
parent 789a14fc44
commit 1de0d20a76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 5 deletions

View file

@ -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"

View file

@ -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

View file

@ -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

View file

@ -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"