Skip to content

Commit 62efb7c

Browse files
Fix issues in test script.
1 parent 7df4c0f commit 62efb7c

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

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

+12-4
Original file line numberDiff line numberDiff line change
@@ -1579,6 +1579,7 @@ tests:
15791579
constraints:
15801580
type: octet_string
15811581
minLength: 65
1582+
maxLength: 65
15821583

15831584
- label:
15841585
"Step 38b: TH writes AliroReaderVerificationKey attribute as an octstr
@@ -1608,6 +1609,8 @@ tests:
16081609
constraints:
16091610
type: octet_string
16101611
minLength: 16
1612+
maxLength: 16
1613+
16111614
- label:
16121615
"Step 39b: TH writes AliroReaderGroupIdentifier attribute as octstr
16131616
value of length 16 which is different from aliroreadergrpidentifier"
@@ -1635,6 +1638,7 @@ tests:
16351638
constraints:
16361639
type: octet_string
16371640
minLength: 16
1641+
maxLength: 16
16381642

16391643
- label:
16401644
"Step 40b: TH writes AliroReaderGroupSubIdentifier attribute as octstr
@@ -1665,6 +1669,7 @@ tests:
16651669
constraints:
16661670
type: list
16671671
maxLength: 16
1672+
16681673
- label:
16691674
"Step 41b: TH writes
16701675
AliroExpeditedTransactionSupportedProtocolVersions attribute as list
@@ -1673,9 +1678,10 @@ tests:
16731678
command: "writeAttribute"
16741679
attribute: "AliroExpeditedTransactionSupportedProtocolVersions"
16751680
arguments:
1676-
value: ["0x1", "0x2"]
1681+
value: ["\x01", "\x02"]
16771682
response:
16781683
error: UNSUPPORTED_WRITE
1684+
16791685
- label:
16801686
"Step 41c: TH reads AliroExpeditedTransactionSupportedProtocolVersions
16811687
attribute from DUT"
@@ -1694,6 +1700,7 @@ tests:
16941700
constraints:
16951701
type: octet_string
16961702
minLength: 16
1703+
maxLength: 16
16971704

16981705
- label:
16991706
"Step 42b: TH writes AliroGroupResolvingKey attribute as octstr value
@@ -1712,6 +1719,7 @@ tests:
17121719
attribute: "AliroGroupResolvingKey"
17131720
response:
17141721
value: alirogrpresolvingkey
1722+
17151723
- label:
17161724
"Step 43a: TH reads AliroSupportedBLEUWBProtocolVersions attribute
17171725
from DUT"
@@ -1721,8 +1729,8 @@ tests:
17211729
response:
17221730
saveAs: alirobleuwbprotocolversion
17231731
constraints:
1724-
type: octet_string
1725-
minLength: 16
1732+
type: list
1733+
maxLength: 16
17261734

17271735
- label:
17281736
"Step 43b: TH writes AliroSupportedBLEUWBProtocolVersions attribute as
@@ -1731,7 +1739,7 @@ tests:
17311739
command: "writeAttribute"
17321740
attribute: "AliroSupportedBLEUWBProtocolVersions"
17331741
arguments:
1734-
value: "047a4c992d75368"
1742+
value: [ "\x01", "\x02" ]
17351743
response:
17361744
error: UNSUPPORTED_WRITE
17371745

0 commit comments

Comments
 (0)