mirror of
https://github.com/home-assistant/core.git
synced 2025-11-13 04:50:17 +00:00
Bump Daikin version, catch new exception during config_flow (#57080)
This commit is contained in:
committed by
GitHub
parent
1fbc94f56d
commit
cadbf7f6a9
@@ -4,6 +4,7 @@ import asyncio
|
||||
from unittest.mock import PropertyMock, patch
|
||||
|
||||
from aiohttp import ClientError, web_exceptions
|
||||
from pydaikin.exceptions import DaikinException
|
||||
import pytest
|
||||
|
||||
from homeassistant.components.daikin.const import KEY_MAC
|
||||
@@ -85,6 +86,7 @@ async def test_abort_if_already_setup(hass, mock_daikin):
|
||||
(asyncio.TimeoutError, "cannot_connect"),
|
||||
(ClientError, "cannot_connect"),
|
||||
(web_exceptions.HTTPForbidden, "invalid_auth"),
|
||||
(DaikinException, "unknown"),
|
||||
(Exception, "unknown"),
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user