File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
roborock/devices/traits/v1 Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,8 @@ def __init__(
9797 trait ._rpc_channel = rpc_channel
9898
9999
100+
101+
100102def create (
101103 product : HomeDataProduct ,
102104 home_data : HomeData ,
Original file line number Diff line number Diff line change @@ -27,8 +27,7 @@ async def test_send_command_success(command_trait: CommandTrait) -> None:
2727 result = await command_trait .send (RoborockCommand .APP_START )
2828
2929 # Verify the result
30- assert result == {'result' : '
31- "ok" }
30+ assert result == {"result" : "ok" }
3231
3332 # Verify the RPC call was made correctly
3433 mock_rpc_channel .send_command .assert_called_once_with (RoborockCommand .APP_START , params = None )
@@ -45,7 +44,7 @@ async def test_send_command_with_params(command_trait: CommandTrait) -> None:
4544 result = await command_trait .send (RoborockCommand .APP_SEGMENT_CLEAN , params )
4645
4746 # Verify the result
48- assert result == {' result' : "ok" }
47+ assert result == {" result" : "ok" }
4948
5049 # Verify the RPC call was made correctly
5150 mock_rpc_channel .send_command .assert_called_once_with (RoborockCommand .APP_SEGMENT_CLEAN , params = params )
You can’t perform that action at this time.
0 commit comments