diff --git a/src/python_testing/TC_CADMIN_1_19.py b/src/python_testing/TC_CADMIN_1_19.py index e4afd3af56df38..29bff427458731 100644 --- a/src/python_testing/TC_CADMIN_1_19.py +++ b/src/python_testing/TC_CADMIN_1_19.py @@ -132,7 +132,7 @@ async def test_TC_CADMIN_1_19(self): next_fabric = current_fabrics + 1 fids_ca_dir[next_fabric] = self.certificate_authority_manager.NewCertificateAuthority() fids_fa_dir[next_fabric] = fids_ca_dir[current_fabrics + - 1].NewFabricAdmin(vendorId=0xFFF1, fabricId=next_fabric) + 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( @@ -164,5 +164,6 @@ async def test_TC_CADMIN_1_19(self): current_fabrics = await self.read_single_attribute_check_success(dev_ctrl=self.th1, fabric_filtered=False, endpoint=0, cluster=OC_cluster, attribute=OC_cluster.Attributes.CommissionedFabrics) asserts.assert_equal(current_fabrics, initial_number_of_fabrics, "Expected number of fabrics not correct") + if __name__ == "__main__": default_matter_test_main()