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 Bram Kragten committed 2020-05-15 09:10:28 +02:00
1 parent 592ecd479f
commit 3928fe9578
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,