Skip to content

Commit

Permalink
Use 5% tolerance when checking CurrentLevel attribute in TC-LVL-6.1 (#…
Browse files Browse the repository at this point in the history
…20030)

* Modified test TC-LVL-6.1

* Auto generated files
  • Loading branch information
manjunath-grl authored and pull[bot] committed Aug 23, 2023
1 parent 3acde3f commit 1568104
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 21 deletions.
8 changes: 4 additions & 4 deletions src/app/tests/suites/certification/Test_TC_LVL_6_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,9 @@ tests:
command: "readAttribute"
attribute: "current level"
response:
value: 25
constraints:
minValue: 23
maxValue: 27
notValue: CurrentLevelValue

- label: "Sends a move up command to DUT"
Expand Down Expand Up @@ -147,13 +148,12 @@ tests:
transitioning."

- label: "Reads CurrentLevel attribute from DUT"
disabled: true # https://github.com/project-chip/connectedhomeip/issues/19869
PICS: PICS_SKIP_SAMPLE_APP
command: "readAttribute"
attribute: "current level"
response:
value: 50
constraints:
minValue: 48
maxValue: 52
notValue: CurrentLevelValue

- label: "Reset level to 254"
Expand Down
26 changes: 21 additions & 5 deletions zzz_generated/chip-tool/zap-generated/test/Commands.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

49 changes: 37 additions & 12 deletions zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1568104

Please sign in to comment.