Skip to content

Commit

Permalink
Fix issues in test script.
Browse files Browse the repository at this point in the history
  • Loading branch information
bzbarsky-apple committed Aug 1, 2024
1 parent 7df4c0f commit 54d6b5d
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1579,6 +1579,7 @@ tests:
constraints:
type: octet_string
minLength: 65
maxLength: 65

- label:
"Step 38b: TH writes AliroReaderVerificationKey attribute as an octstr
Expand Down Expand Up @@ -1608,6 +1609,8 @@ tests:
constraints:
type: octet_string
minLength: 16
maxLength: 16

- label:
"Step 39b: TH writes AliroReaderGroupIdentifier attribute as octstr
value of length 16 which is different from aliroreadergrpidentifier"
Expand Down Expand Up @@ -1635,6 +1638,7 @@ tests:
constraints:
type: octet_string
minLength: 16
maxLength: 16

- label:
"Step 40b: TH writes AliroReaderGroupSubIdentifier attribute as octstr
Expand Down Expand Up @@ -1665,6 +1669,7 @@ tests:
constraints:
type: list
maxLength: 16

- label:
"Step 41b: TH writes
AliroExpeditedTransactionSupportedProtocolVersions attribute as list
Expand All @@ -1673,9 +1678,10 @@ tests:
command: "writeAttribute"
attribute: "AliroExpeditedTransactionSupportedProtocolVersions"
arguments:
value: ["0x1", "0x2"]
value: ["\x01", "\x02"]
response:
error: UNSUPPORTED_WRITE

- label:
"Step 41c: TH reads AliroExpeditedTransactionSupportedProtocolVersions
attribute from DUT"
Expand All @@ -1694,6 +1700,7 @@ tests:
constraints:
type: octet_string
minLength: 16
maxLength: 16

- label:
"Step 42b: TH writes AliroGroupResolvingKey attribute as octstr value
Expand All @@ -1712,6 +1719,7 @@ tests:
attribute: "AliroGroupResolvingKey"
response:
value: alirogrpresolvingkey

- label:
"Step 43a: TH reads AliroSupportedBLEUWBProtocolVersions attribute
from DUT"
Expand All @@ -1721,8 +1729,8 @@ tests:
response:
saveAs: alirobleuwbprotocolversion
constraints:
type: octet_string
minLength: 16
type: list
maxLength: 16

- label:
"Step 43b: TH writes AliroSupportedBLEUWBProtocolVersions attribute as
Expand All @@ -1731,7 +1739,7 @@ tests:
command: "writeAttribute"
attribute: "AliroSupportedBLEUWBProtocolVersions"
arguments:
value: "047a4c992d75368"
value: ["\x01", "\x02"]
response:
error: UNSUPPORTED_WRITE

Expand Down

0 comments on commit 54d6b5d

Please sign in to comment.