Skip to content

Commit

Permalink
Address PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tehampson committed Jan 16, 2024
1 parent 5ca2f62 commit 15eb8a3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/python_testing/TC_IDM_1_4.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,11 @@ async def steps_3_to_9(self, dummy_value):

command = Clusters.AdministratorCommissioning.Commands.RevokeCommissioning()
invoke_request_2 = Clusters.Command.InvokeRequestInfo(endpoint, command)
# It is safe to use RevokeCommissioning in this test without opening the commissioning window because
# we expect a non-path-specific error. As per the specification, non-path-specific errors of this
# nature is generated before command dispatch to cluster. In the next test step, we anticipate
# receiving a path-specific response to the same command, with the TimedRequestMessage sent before
# the InvokeRequestMessage.
try:
result = await dev_ctrl.TestOnlySendBatchCommands(dut_node_id, [invoke_request_1, invoke_request_2], suppressTimedRequestMessage=True)
asserts.fail("Unexpected success call to sending Batch command when non-path specific error expected")
Expand Down

0 comments on commit 15eb8a3

Please sign in to comment.