Add type hints to integration tests (part 13) (#87998)
This commit is contained in:
parent
c557cd2b1e
commit
ea11a30a35
53 changed files with 798 additions and 404 deletions
|
@ -80,7 +80,7 @@ async def test_step_import_existing_host(hass: HomeAssistant) -> None:
|
|||
(TimeoutError, "connection_timeout"),
|
||||
],
|
||||
)
|
||||
async def test_step_import_error(hass, error, reason):
|
||||
async def test_step_import_error(hass: HomeAssistant, error, reason) -> None:
|
||||
"""Test for error in import is handled correctly."""
|
||||
with patch(
|
||||
"pypck.connection.PchkConnectionManager.async_connect", side_effect=error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue