Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
swan-amazon committed Sep 10, 2024
1 parent d581f9a commit 89d3e6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/python_testing/TC_CGEN_2_6.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
4 changes: 2 additions & 2 deletions src/python_testing/matter_testing_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 89d3e6d

Please sign in to comment.