mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2025-02-27 03:32:15 +01:00
fix duplicate test name test_valve_command (#909)
This commit is contained in:
parent
dd02516eb6
commit
fdd2437d98
@ -728,9 +728,9 @@ async def test_lock_command(
|
|||||||
"cmd, req",
|
"cmd, req",
|
||||||
[
|
[
|
||||||
(dict(key=1), dict(key=1)),
|
(dict(key=1), dict(key=1)),
|
||||||
(dict(key=1, position=1.0),),
|
(dict(key=1, position=1.0), dict(key=1, position=1.0, has_position=True)),
|
||||||
(dict(key=1, position=0.0),),
|
(dict(key=1, position=0.0), dict(key=1, position=0.0, has_position=True)),
|
||||||
(dict(key=1, stop=True),),
|
(dict(key=1, stop=True), dict(key=1, stop=True)),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
async def test_valve_command(
|
async def test_valve_command(
|
||||||
@ -756,7 +756,7 @@ async def test_valve_command(
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
async def test_valve_command(
|
async def test_valve_command_version_1_1(
|
||||||
auth_client: APIClient, cmd: dict[str, Any], req: dict[str, Any]
|
auth_client: APIClient, cmd: dict[str, Any], req: dict[str, Any]
|
||||||
) -> None:
|
) -> None:
|
||||||
send = patch_send(auth_client)
|
send = patch_send(auth_client)
|
||||||
|
Loading…
Reference in New Issue
Block a user