Update typing 15 (#48079)
This commit is contained in:
parent
dcca29ef68
commit
54d1e9985f
35 changed files with 190 additions and 166 deletions
|
@ -1,5 +1,7 @@
|
|||
"""Vera tests."""
|
||||
from typing import Any, Callable, Tuple
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Any, Callable
|
||||
from unittest.mock import MagicMock
|
||||
|
||||
import pyvera as pv
|
||||
|
@ -15,7 +17,7 @@ async def run_sensor_test(
|
|||
vera_component_factory: ComponentFactory,
|
||||
category: int,
|
||||
class_property: str,
|
||||
assert_states: Tuple[Tuple[Any, Any]],
|
||||
assert_states: tuple[tuple[Any, Any]],
|
||||
assert_unit_of_measurement: str = None,
|
||||
setup_callback: Callable[[pv.VeraController], None] = None,
|
||||
) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue