Add type hints to integration tests (part 13) (#87998)

This commit is contained in:
epenet 2023-02-13 14:38:37 +01:00 committed by GitHub
parent c557cd2b1e
commit ea11a30a35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
53 changed files with 798 additions and 404 deletions

View file

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