File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +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 is None
30+ assert result == { 'result' : 'ok' }
3131
3232 # Verify the RPC call was made correctly
3333 mock_rpc_channel .send_command .assert_called_once_with (RoborockCommand .APP_START , params = None )
@@ -44,7 +44,7 @@ async def test_send_command_with_params(command_trait: CommandTrait) -> None:
4444 result = await command_trait .send (RoborockCommand .APP_SEGMENT_CLEAN , params )
4545
4646 # Verify the result
47- assert result is None
47+ assert result == { 'result' : 'ok' }
4848
4949 # Verify the RPC call was made correctly
5050 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