mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
Correct type annotations in integration sensor tests (#120541)
This commit is contained in:
@@ -321,7 +321,7 @@ async def test_restore_state_failed(hass: HomeAssistant, extra_attributes) -> No
|
|||||||
)
|
)
|
||||||
async def test_trapezoidal(
|
async def test_trapezoidal(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
sequence: tuple[tuple[float, float, float, ...]],
|
sequence: tuple[tuple[float, float, float], ...],
|
||||||
force_update: bool,
|
force_update: bool,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Test integration sensor state."""
|
"""Test integration sensor state."""
|
||||||
@@ -385,7 +385,7 @@ async def test_trapezoidal(
|
|||||||
)
|
)
|
||||||
async def test_left(
|
async def test_left(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
sequence: tuple[tuple[float, float, float, ...]],
|
sequence: tuple[tuple[float, float, float], ...],
|
||||||
force_update: bool,
|
force_update: bool,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Test integration sensor state with left reimann method."""
|
"""Test integration sensor state with left reimann method."""
|
||||||
@@ -452,7 +452,7 @@ async def test_left(
|
|||||||
)
|
)
|
||||||
async def test_right(
|
async def test_right(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
sequence: tuple[tuple[float, float, float, ...]],
|
sequence: tuple[tuple[float, float, float], ...],
|
||||||
force_update: bool,
|
force_update: bool,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Test integration sensor state with left reimann method."""
|
"""Test integration sensor state with left reimann method."""
|
||||||
|
Reference in New Issue
Block a user