Skip to content

Commit

Permalink
[TC-DRLK-2.12] Bugfix: fix crash when testing against DUT that does n…
Browse files Browse the repository at this point in the history
…ot support PIN's (#29433)

* [TC-DRLK-2.12] Bugfix: fix crash when testing against DUT that does not support PIN's

Fixes https://github.com/CHIP-Specifications/chip-test-scripts/issues/670

* kick-off new CI build
  • Loading branch information
jrhees-cae authored and pull[bot] committed Nov 8, 2023
1 parent b80cc06 commit 4968186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python_testing/drlk_2_x_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ async def run_drlk_test_common(self, lockUnlockCommand, lockUnlockCmdRspPICS, lo
logging.info("Credential created at CredentialIndex %d, UserIndex %d." % (credentialIndex, ret.userIndex))
self.createdCredential = credential

requirePinForRemoteOperation_dut = False
if self.check_pics("DRLK.S.F00") and self.check_pics("DRLK.S.F07"):
requirePinForRemoteOperation_dut = False
self.print_step("1", "TH writes the RequirePINforRemoteOperation attribute value as false on the DUT")
attribute = attributes.RequirePINforRemoteOperation(False)
if self.check_pics("DRLK.S.M.RequirePINForRemoteOperationAttributeWritable"):
Expand Down

0 comments on commit 4968186

Please sign in to comment.