Skip to content

Commit

Permalink
Change chip-tool.py to chip-tool (#29081)
Browse files Browse the repository at this point in the history
Co-authored-by: Hare <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Oct 11, 2023
1 parent 70965e5 commit 1630876
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 46 deletions.
6 changes: 3 additions & 3 deletions src/app/tests/suites/certification/Test_TC_SMOKECO_2_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read smoke-state 1 1
./chip-tool smokecoalarm read smoke-state 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0001 DataVersion: 1795725838
[TOO] SmokeState: 1
Expand Down Expand Up @@ -191,7 +191,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read smoke-state 1 1
./chip-tool smokecoalarm read smoke-state 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0001 DataVersion: 1795725838
[TOO] SmokeState: 2
Expand Down Expand Up @@ -242,7 +242,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read smoke-state 1 1
./chip-tool smokecoalarm read smoke-state 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0001 DataVersion: 1795725838
[TOO] SmokeState: 0
Expand Down
6 changes: 3 additions & 3 deletions src/app/tests/suites/certification/Test_TC_SMOKECO_2_3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read costate 1 1
./chip-tool smokecoalarm read costate 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0002 DataVersion: 1795725838
[TOO] COState: 1
Expand Down Expand Up @@ -190,7 +190,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read costate 1 1
./chip-tool smokecoalarm read costate 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0002 DataVersion: 1795725838
[TOO] COState: 2
Expand Down Expand Up @@ -241,7 +241,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read costate 1 1
./chip-tool smokecoalarm read costate 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0002 DataVersion: 1795725838
[TOO] COState: 0
Expand Down
16 changes: 8 additions & 8 deletions src/app/tests/suites/certification/Test_TC_SMOKECO_2_4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read battery-alert 1 1
./chip-tool smokecoalarm read battery-alert 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0003 DataVersion: 1795725838
[TOO] BatteryAlert: 1
Expand Down Expand Up @@ -168,7 +168,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read battery-alert 1 1
./chip-tool smokecoalarm read battery-alert 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0003 DataVersion: 1795725838
[TOO] BatteryAlert: 2
Expand Down Expand Up @@ -219,7 +219,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read battery-alert 1 1
./chip-tool smokecoalarm read battery-alert 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0003 DataVersion: 1795725838
[TOO] BatteryAlert: 0
Expand Down Expand Up @@ -281,7 +281,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read hardware-fault-alert 1 1
./chip-tool smokecoalarm read hardware-fault-alert 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0006 DataVersion: 1795725838
[TOO] HardwareFaultAlert: TRUE
Expand Down Expand Up @@ -333,7 +333,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read hardware-fault-alert 1 1
./chip-tool smokecoalarm read hardware-fault-alert 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0006 DataVersion: 1795725838
[TOO] HardwareFaultAlert: FALSE
Expand Down Expand Up @@ -395,7 +395,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read end-of-service-alert 1 1
./chip-tool smokecoalarm read end-of-service-alert 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0007 DataVersion: 1795725838
[TOO] EndOfServiceAlert: 1
Expand Down Expand Up @@ -447,7 +447,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read end-of-service-alert 1 1
./chip-tool smokecoalarm read end-of-service-alert 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0007 DataVersion: 1795725838
[TOO] EndOfServiceAlert: 0
Expand Down Expand Up @@ -577,7 +577,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read test-in-progress 1 1
./chip-tool smokecoalarm read test-in-progress 1 1
This step needs to be completed quickly
Expand Down
44 changes: 22 additions & 22 deletions src/app/tests/suites/certification/Test_TC_SMOKECO_2_5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read interconnect-smoke-alarm 1 1
./chip-tool smokecoalarm read interconnect-smoke-alarm 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0008 DataVersion: 1795725838
[TOO] InterconnectSmokeAlarm: 1
Expand Down Expand Up @@ -204,7 +204,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read interconnect-smoke-alarm 1 1
./chip-tool smokecoalarm read interconnect-smoke-alarm 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0008 DataVersion: 1795725838
[TOO] InterconnectSmokeAlarm: 0
Expand Down Expand Up @@ -275,7 +275,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read interconnect-coalarm 1 1
./chip-tool smokecoalarm read interconnect-coalarm 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0009 DataVersion: 1795725838
[TOO] InterconnectCOAlarm: 1
Expand Down Expand Up @@ -327,7 +327,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read interconnect-coalarm 1 1
./chip-tool smokecoalarm read interconnect-coalarm 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0009 DataVersion: 1795725838
[TOO] InterconnectCOAlarm: 0
Expand Down Expand Up @@ -390,7 +390,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read contamination-state 1 1
./chip-tool smokecoalarm read contamination-state 1 1
Verify that the value of ContaminationState is 2 or 3
Expand Down Expand Up @@ -427,7 +427,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read contamination-state 1 1
./chip-tool smokecoalarm read contamination-state 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_000A DataVersion: 1795725838
[TOO] ContaminationState: 0
Expand Down Expand Up @@ -462,7 +462,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read contamination-state 1 1
./chip-tool smokecoalarm read contamination-state 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_000A DataVersion: 1795725838
[TOO] ContaminationState: 1
Expand Down Expand Up @@ -497,7 +497,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read contamination-state 1 1
./chip-tool smokecoalarm read contamination-state 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_000A DataVersion: 1795725838
[TOO] ContaminationState: 0
Expand Down Expand Up @@ -544,7 +544,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read smoke-sensitivity-level 1 1
./chip-tool smokecoalarm read smoke-sensitivity-level 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_000B DataVersion: 1795725838
[TOO] SmokeSensitivityLevel: 0
Expand Down Expand Up @@ -579,7 +579,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read smoke-sensitivity-level 1 1
./chip-tool smokecoalarm read smoke-sensitivity-level 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_000B DataVersion: 1795725838
[TOO] SmokeSensitivityLevel: 1
Expand Down Expand Up @@ -614,7 +614,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read smoke-sensitivity-level 1 1
./chip-tool smokecoalarm read smoke-sensitivity-level 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_000B DataVersion: 1795725838
[TOO] SmokeSensitivityLevel: 2
Expand Down Expand Up @@ -649,7 +649,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read smoke-sensitivity-level 1 1
./chip-tool smokecoalarm read smoke-sensitivity-level 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_000B DataVersion: 1795725838
[TOO] SmokeSensitivityLevel: 1
Expand Down Expand Up @@ -716,7 +716,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read smoke-state 1 1
./chip-tool smokecoalarm read smoke-state 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0001 DataVersion: 1795725838
[TOO] SmokeState: 1
Expand Down Expand Up @@ -757,7 +757,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read device-muted 1 1
./chip-tool smokecoalarm read device-muted 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0004 DataVersion: 1795725838
[TOO] DeviceMuted: 1
Expand Down Expand Up @@ -800,7 +800,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read device-muted 1 1
./chip-tool smokecoalarm read device-muted 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0004 DataVersion: 1795725838
[TOO] DeviceMuted: 0
Expand Down Expand Up @@ -851,7 +851,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read smoke-state 1 1
./chip-tool smokecoalarm read smoke-state 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0001 DataVersion: 1795725838
[TOO] SmokeState: 2
Expand Down Expand Up @@ -928,7 +928,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read smoke-state 1 1
./chip-tool smokecoalarm read smoke-state 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0001 DataVersion: 1795725838
[TOO] SmokeState: 0
Expand Down Expand Up @@ -984,7 +984,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read costate 1 1
./chip-tool smokecoalarm read costate 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0002 DataVersion: 1795725838
[TOO] COState: 1
Expand Down Expand Up @@ -1025,7 +1025,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read device-muted 1 1
./chip-tool smokecoalarm read device-muted 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0004 DataVersion: 1795725838
[TOO] DeviceMuted: 1
Expand Down Expand Up @@ -1068,7 +1068,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read device-muted 1 1
./chip-tool smokecoalarm read device-muted 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0004 DataVersion: 1795725838
[TOO] DeviceMuted: 0
Expand Down Expand Up @@ -1119,7 +1119,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read costate 1 1
./chip-tool smokecoalarm read costate 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0002 DataVersion: 1795725838
[TOO] COState: 2
Expand Down Expand Up @@ -1196,7 +1196,7 @@ tests:
cluster: "LogCommands"
command: "UserPrompt"
verification: |
./chip-tool.py smokecoalarm read costate 1 1
./chip-tool smokecoalarm read costate 1 1
[TOO] Endpoint: 1 Cluster: 0x0000_005C Attribute 0x0000_0002 DataVersion: 1795725838
[TOO] COState: 0
Expand Down
Loading

0 comments on commit 1630876

Please sign in to comment.