Skip to content

Commit e4c4c38

Browse files
authored
Fix IDM-1-3 chip-repl example commands (project-chip#31796)
1 parent f9ffe55 commit e4c4c38

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/app/tests/suites/certification/Test_TC_IDM_1_3.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ tests:
4646
test step can be simulated using chip-repl (when DUT is a commissioner/Client).
4747
The cluster used in the below command is an example, User can use any supported chip cluster/attribute/command. Note in this example the unique path is created by using 2 different endpoints.
4848
49-
`await devCtrl.SendBatchCommands(0x12344321, [Clusters.Command.InvokeRequestInfo(1, Clusters.OnOff.Commands.Toggle()), Clusters.Command.InvokeRequestInfo(2, Clusters.OnOff.Commands.Toggle())]`
49+
`await devCtrl.SendBatchCommands(0x12344321, [chip.clusters.Command.InvokeRequestInfo(1, chip.clusters.OnOff.Commands.Toggle()), chip.clusters.Command.InvokeRequestInfo(2, chip.clusters.OnOff.Commands.Toggle())])`
5050
5151
On TH(all-clusters-app), Verify that the EndpointIDs, CommandIDs, ClusterIDs in the InvokeRequestMessage (as below) matching with the data sent in the above command
5252
@@ -110,7 +110,7 @@ tests:
110110
test step can be simulated using chip-repl (when DUT is a commissioner/Client).
111111
The cluster used in the below command is an example, User can use any supported chip cluster/attribute/command. Note in this example the unique path is created by using 2 different endpoints.
112112
113-
`await devCtrl.SendBatchCommands(0x12344321, [Clusters.Command.InvokeRequestInfo(1, Clusters.OnOff.Commands.Toggle()), Clusters.Command.InvokeRequestInfo(2, Clusters.OnOff.Commands.Toggle())]`
113+
`await devCtrl.SendBatchCommands(0x12344321, [chip.clusters.Command.InvokeRequestInfo(1, chip.clusters.OnOff.Commands.Toggle()), chip.clusters.Command.InvokeRequestInfo(2, chip.clusters.OnOff.Commands.Toggle())])`
114114
115115
Verify DUT doesn't crash by seeing next step execute.
116116
disabled: true
@@ -131,7 +131,7 @@ tests:
131131
test step can be simulated using chip-repl (when DUT is a commissioner/Client).
132132
The cluster used in the below command is an example, User can use any supported chip cluster/attribute/command. Note in this example the unique path is created by using 2 different endpoints.
133133
134-
`await devCtrl.SendBatchCommands(0x12344321, [Clusters.Command.InvokeRequestInfo(1, Clusters.OnOff.Commands.Toggle()), Clusters.Command.InvokeRequestInfo(2, Clusters.OnOff.Commands.Toggle())]`
134+
`await devCtrl.SendBatchCommands(0x12344321, [chip.clusters.Command.InvokeRequestInfo(1, chip.clusters.OnOff.Commands.Toggle()), chip.clusters.Command.InvokeRequestInfo(2, chip.clusters.OnOff.Commands.Toggle())])`
135135
136136
Verify DUT doesn't crash by seeing next step execute.
137137
disabled: true
@@ -152,7 +152,7 @@ tests:
152152
test step can be simulated using chip-repl (when DUT is a commissioner/Client).
153153
The cluster used in the below command is an example, User can use any supported chip cluster/attribute/command. Note in this example the unique path is created by using 2 different endpoints.
154154
155-
`await devCtrl.SendBatchCommands(0x12344321, [Clusters.Command.InvokeRequestInfo(1, Clusters.OnOff.Commands.Toggle()), Clusters.Command.InvokeRequestInfo(2, Clusters.OnOff.Commands.Toggle())]`
155+
`await devCtrl.SendBatchCommands(0x12344321, [chip.clusters.Command.InvokeRequestInfo(1, chip.clusters.OnOff.Commands.Toggle()), chip.clusters.Command.InvokeRequestInfo(2, chip.clusters.OnOff.Commands.Toggle())])`
156156
157157
Verify DUT doesn't crash by seeing next step execute.
158158
disabled: true
@@ -169,7 +169,7 @@ tests:
169169
test step can be simulated using chip-repl (when DUT is a commissioner/Client).
170170
The cluster used in the below command is an example, User can use any supported chip cluster/attribute/command. Note in this example the unique path is created by using 2 different endpoints.
171171
172-
`await devCtrl.SendCommands(0x12344321, 1, Clusters.OnOff.Commands.Toggle())`
172+
`await devCtrl.SendCommand(0x12344321, 1, chip.clusters.OnOff.Commands.Toggle())`
173173
174174
On TH(all-clusters-app), Verify that we recieves an InvokeRequestMessage that contains a single InvokeRequests
175175

0 commit comments

Comments
 (0)