Bump python-synology to 0.8.1 (#35640)

* Bump python-synology to 0.8.1

* Fix tests
This commit is contained in:
Quentame authored and GitHub committed 2020-05-14 22:20:53 -05:00
1 parent 9586e9ebef
commit d8c7a10fd7
4 files changed
+4 -4

No files matched your search

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