From aba70238e490fe5f3f74031b5e452b1693769e01 Mon Sep 17 00:00:00 2001 From: Cecille Freeman Date: Fri, 8 Mar 2024 11:10:17 -0500 Subject: [PATCH] TC-IDM-10.4: Remove OTA PICS from check The PICS XML files do not contain andy PICS for OTA clusters so we can't check them. This is a known issue with the test plans, but we are where we are. --- src/python_testing/TC_pics_checker.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/python_testing/TC_pics_checker.py b/src/python_testing/TC_pics_checker.py index 6d49142f8f40b2..241288a349b4f7 100644 --- a/src/python_testing/TC_pics_checker.py +++ b/src/python_testing/TC_pics_checker.py @@ -122,6 +122,10 @@ def test_TC_IDM_10_4(self): checkable_clusters = {cluster_id: cluster for cluster_id, cluster in Clusters.ClusterObjects.ALL_CLUSTERS.items( ) if cluster_id in self.xml_clusters and self.xml_clusters[cluster_id].pics is not None} + # TODO: consider what we want to do with the OTA clusters. They do not currently have PICS codes. + ota_ids = [Clusters.OtaSoftwareUpdateProvider.id, Clusters.OtaSoftwareUpdateRequestor.id] + checkable_clusters = {cluster_id: cluster for cluster_id, cluster in checkable_clusters.items() if cluster_id not in ota_ids} + self.step(2) for cluster_id, cluster in checkable_clusters.items(): # Ensure the PICS.S code is correctly marked