diff --git a/src/python_testing/TC_CGEN_2_6.py b/src/python_testing/TC_CGEN_2_6.py index 7d89611cde74f9..f66e77474b7dcb 100644 --- a/src/python_testing/TC_CGEN_2_6.py +++ b/src/python_testing/TC_CGEN_2_6.py @@ -73,7 +73,7 @@ async def test_TC_CGEN_2_6(self): # Don't set TCs for the next commissioning and skip CommissioningComplete so we can manually call CommissioningComplete in order to check the response error code self.th1.SetTCRequired(False) self.th1.SetSkipCommissioningComplete(True) - self.matter_test_config.commissioning_method = self.matter_test_config.pairing_method + self.matter_test_config.commissioning_method = self.matter_test_config.in_test_commissioning_method await self.commission_devices() cmd = Clusters.GeneralCommissioning.Commands.CommissioningComplete() diff --git a/src/python_testing/matter_testing_support.py b/src/python_testing/matter_testing_support.py index ea3aa62a326535..fdab70dca41b77 100644 --- a/src/python_testing/matter_testing_support.py +++ b/src/python_testing/matter_testing_support.py @@ -629,7 +629,7 @@ class MatterTestConfig: app_pid: int = 0 commissioning_method: Optional[str] = None - pairing_method: Optional[str] = None + in_test_commissioning_method: Optional[str] = None discriminators: List[int] = field(default_factory=list) setup_passcodes: List[int] = field(default_factory=list) commissionee_ip_address_just_for_testing: Optional[str] = None @@ -1743,7 +1743,7 @@ def populate_commissioning_args(args: argparse.Namespace, config: MatterTestConf return False config.dut_node_ids = args.dut_node_ids - config.pairing_method = args.pairing_method + config.in_test_commissioning_method = args.in_test_commissioning_method config.commissioning_method = args.commissioning_method config.commission_only = args.commission_only