Bump python-synology to 0.8.1 (#35640)
* Bump python-synology to 0.8.1 * Fix tests
This commit is contained in:
parent
9586e9ebef
commit
d8c7a10fd7
4 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
"domain": "synology_dsm",
|
||||
"name": "Synology DSM",
|
||||
"documentation": "https://www.home-assistant.io/integrations/synology_dsm",
|
||||
"requirements": ["python-synology==0.8.0"],
|
||||
"requirements": ["python-synology==0.8.1"],
|
||||
"codeowners": ["@ProtoThis", "@Quentame"],
|
||||
"config_flow": true,
|
||||
"ssdp": [
|
||||
|
|
|
@ -1723,7 +1723,7 @@ python-sochain-api==0.0.2
|
|||
python-songpal==0.12
|
||||
|
||||
# homeassistant.components.synology_dsm
|
||||
python-synology==0.8.0
|
||||
python-synology==0.8.1
|
||||
|
||||
# homeassistant.components.tado
|
||||
python-tado==0.8.1
|
||||
|
|
|
@ -711,7 +711,7 @@ python-openzwave-mqtt==1.0.1
|
|||
python-songpal==0.12
|
||||
|
||||
# homeassistant.components.synology_dsm
|
||||
python-synology==0.8.0
|
||||
python-synology==0.8.1
|
||||
|
||||
# homeassistant.components.tado
|
||||
python-tado==0.8.1
|
||||
|
|
|
@ -309,7 +309,7 @@ async def test_connection_failed(hass: HomeAssistantType, service: MagicMock):
|
|||
|
||||
async def test_unknown_failed(hass: HomeAssistantType, service: MagicMock):
|
||||
"""Test when we have an unknown error."""
|
||||
service.return_value.login = Mock(side_effect=SynologyDSMException)
|
||||
service.return_value.login = Mock(side_effect=SynologyDSMException(None, None))
|
||||
|
||||
result = await hass.config_entries.flow.async_init(
|
||||
DOMAIN,
|
||||
|
|
Loading…
Add table
Reference in a new issue