1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 04:50:05 +00:00

Fix typing.Any spelling (#49673)

This commit is contained in:
Ville Skyttä
2021-04-25 22:36:21 +03:00
committed by GitHub
parent 85438db1ec
commit 631ab367e2
17 changed files with 55 additions and 36 deletions

View File

@@ -1,6 +1,7 @@
"""Test function in __init__.py."""
from __future__ import annotations
from typing import Any
from unittest.mock import patch
import pytest
@@ -232,7 +233,7 @@ async def test_import(
config: ConfigType,
expected_calls: int,
expected_to_succeed: bool,
expected_config_flow_user_input: dict[str, any],
expected_config_flow_user_input: dict[str, Any],
) -> None:
"""Test importing a gateway."""
await async_setup_component(hass, "persistent_notification", {})