mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +00:00
Correct type annotations in integration sensor tests (#120541)
This commit is contained in:
parent
36d8ffa79a
commit
f55ddfecf4
@ -321,7 +321,7 @@ async def test_restore_state_failed(hass: HomeAssistant, extra_attributes) -> No
|
||||
)
|
||||
async def test_trapezoidal(
|
||||
hass: HomeAssistant,
|
||||
sequence: tuple[tuple[float, float, float, ...]],
|
||||
sequence: tuple[tuple[float, float, float], ...],
|
||||
force_update: bool,
|
||||
) -> None:
|
||||
"""Test integration sensor state."""
|
||||
@ -385,7 +385,7 @@ async def test_trapezoidal(
|
||||
)
|
||||
async def test_left(
|
||||
hass: HomeAssistant,
|
||||
sequence: tuple[tuple[float, float, float, ...]],
|
||||
sequence: tuple[tuple[float, float, float], ...],
|
||||
force_update: bool,
|
||||
) -> None:
|
||||
"""Test integration sensor state with left reimann method."""
|
||||
@ -452,7 +452,7 @@ async def test_left(
|
||||
)
|
||||
async def test_right(
|
||||
hass: HomeAssistant,
|
||||
sequence: tuple[tuple[float, float, float, ...]],
|
||||
sequence: tuple[tuple[float, float, float], ...],
|
||||
force_update: bool,
|
||||
) -> None:
|
||||
"""Test integration sensor state with left reimann method."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user