File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -173,12 +173,14 @@ async def test_TC_CGEN_2_5(self):
173
173
response = await commissioner .ReadAttribute (nodeid = self .dut_node_id , attributes = [(ROOT_ENDPOINT_ID , Clusters .GeneralCommissioning .Attributes .TCAcceptedVersion )])
174
174
accepted_version = response [ROOT_ENDPOINT_ID ][Clusters .GeneralCommissioning ][Clusters .GeneralCommissioning .Attributes .TCAcceptedVersion ]
175
175
asserts .assert_equal (accepted_version , tc_version_to_simulate , "TCAcceptedVersion does not match expected value." )
176
+ matter_asserts .assert_valid_uint16 (accepted_version , "TCAcceptedVersion is not a uint16 type." )
176
177
177
178
# Step 10: Verify TCAcknowledgements
178
179
self .step (10 )
179
180
response = await commissioner .ReadAttribute (nodeid = self .dut_node_id , attributes = [(ROOT_ENDPOINT_ID , Clusters .GeneralCommissioning .Attributes .TCAcknowledgements )])
180
181
acknowledgements = response [ROOT_ENDPOINT_ID ][Clusters .GeneralCommissioning ][Clusters .GeneralCommissioning .Attributes .TCAcknowledgements ]
181
182
asserts .assert_equal (acknowledgements , tc_user_response_to_simulate , "TCAcknowledgements does not match expected value." )
183
+ matter_asserts .assert_valid_uint16 (accepted_version , "TCAcknowledgements is not a map16 type." )
182
184
183
185
# Step 11: Verify TCMinRequiredVersion
184
186
self .step (11 )
You can’t perform that action at this time.
0 commit comments