Correct type annotations in integration sensor tests (#120541)
This commit is contained in:
parent
36d8ffa79a
commit
f55ddfecf4
1 changed files with 3 additions and 3 deletions
|
@ -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."""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue