Skip to content

Commit

Permalink
Allow TC_IDM_1_2.py to pass when invoke response is supporessed (#33514)
Browse files Browse the repository at this point in the history
* Allow TC_IDM_1_2.py to pass when invoke response is supporessed

* make linter happy
  • Loading branch information
Apollon77 authored and pull[bot] committed Sep 10, 2024
1 parent c3b9a88 commit 1223548
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/python_testing/TC_IDM_1_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,11 @@ async def test_TC_IDM_1_2(self):

# Lucky candidate ArmFailSafe is at it again - command side effect is to set breadcrumb attribute
cmd = Clusters.GeneralCommissioning.Commands.ArmFailSafe(expiryLengthSeconds=900, breadcrumb=2)
await self.default_controller.SendCommand(nodeid=self.dut_node_id, endpoint=0, payload=cmd, suppressResponse=True)
# TODO: Once the above issue is resolved, this needs a check to ensure that no response was received.
try:
await self.default_controller.SendCommand(nodeid=self.dut_node_id, endpoint=0, payload=cmd, suppressResponse=True)
# TODO: Once the above issue is resolved, this needs a check to ensure that (always) no response was received.
except ChipStackError:
logging.info("DUT correctly supressed the response")

# Verify that the command had the correct side effect even if a response was sent
breadcrumb = await self.read_single_attribute_check_success(
Expand Down

0 comments on commit 1223548

Please sign in to comment.