Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow TC_IDM_1_2.py to pass when invoke response is supporessed #33514

Merged
merged 2 commits into from
May 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading