diff --git a/src/python_testing/TC_CADMIN_1_19.py b/src/python_testing/TC_CADMIN_1_19.py index a7a97aa395bed5..0faea18ef3663d 100644 --- a/src/python_testing/TC_CADMIN_1_19.py +++ b/src/python_testing/TC_CADMIN_1_19.py @@ -137,8 +137,8 @@ async def test_TC_CADMIN_1_19(self): fids_fa_dir[next_fabric] = fids_ca_dir[current_fabrics + 1].NewFabricAdmin(vendorId=0xFFF1, fabricId=next_fabric) try: - fids[next_fabric] = fids_fa_dir[next_fabric].NewController(nodeId=next_fabric) - await fids[next_fabric].CommissionOnNetwork( + next_fabric_controller = fids_fa_dir[next_fabric].NewController(nodeId=next_fabric) + await next_fabric_controller.CommissionOnNetwork( nodeId=self.dut_node_id, setupPinCode=params.commissioningParameters.setupPinCode, filterType=ChipDeviceCtrl.DiscoveryFilterType.LONG_DISCRIMINATOR, filter=params.randomDiscriminator)