Skip to content

Commit

Permalink
Update test file for matter-rvc
Browse files Browse the repository at this point in the history
Signed-off-by: Hunsup Jung <[email protected]>
  • Loading branch information
HunsupJung committed Dec 18, 2024
1 parent b356f0d commit 0fe21ff
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions drivers/SmartThings/matter-rvc/src/test/test_matter_rvc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,7 @@ test.register_coroutine_test(
test.register_coroutine_test(
"On changing the rvc run mode, appropriate RvcRunMode command must be sent to the device", function()
supported_run_mode_init()
supported_clean_mode_init()
operating_state_init()
test.wait_for_events()
test.socket.capability:__queue_receive({
mock_device.id,
{ capability = "mode", component = "runMode", command = "setMode", args = { "Idle Mode" } }
Expand All @@ -302,9 +301,8 @@ test.register_coroutine_test(

test.register_coroutine_test(
"On changing the rvc clean mode, appropriate RvcCleanMode command must be sent to the device", function()
supported_run_mode_init()
supported_clean_mode_init()
operating_state_init()
test.wait_for_events()
test.socket.capability:__queue_receive({
mock_device.id,
{ capability = "mode", component = "cleanMode", command = "setMode", args = { "Clean Mode 1" } }
Expand Down

0 comments on commit 0fe21ff

Please sign in to comment.