From fdd2437d9806ca55142a43e9ec57cec981742712 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 24 Jul 2024 16:43:57 -0500 Subject: [PATCH] fix duplicate test name test_valve_command (#909) --- tests/test_client.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_client.py b/tests/test_client.py index f5b4016..3c18ed2 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -728,9 +728,9 @@ async def test_lock_command( "cmd, req", [ (dict(key=1), dict(key=1)), - (dict(key=1, position=1.0),), - (dict(key=1, position=0.0),), - (dict(key=1, stop=True),), + (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, has_position=True)), + (dict(key=1, stop=True), dict(key=1, stop=True)), ], ) 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] ) -> None: send = patch_send(auth_client)