From 8c8d195a42f62fba7c4054e8d5096f52f4fbe561 Mon Sep 17 00:00:00 2001 From: jrhees-cae <61466710+jrhees-cae@users.noreply.github.com> Date: Wed, 27 Sep 2023 22:37:00 +0200 Subject: [PATCH] [TC-DRLK-2.12] Bugfix: fix crash when testing against DUT that does not 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 --- src/python_testing/drlk_2_x_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python_testing/drlk_2_x_common.py b/src/python_testing/drlk_2_x_common.py index 7ba07577b6b8b9..7e0d7d7a9507c3 100644 --- a/src/python_testing/drlk_2_x_common.py +++ b/src/python_testing/drlk_2_x_common.py @@ -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"):