Skip to content

Commit 4984678

Browse files
TC-IDM-10.4: Remove OTA PICS from check (project-chip#32510)
* 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. * Restyled by autopep8 --------- Co-authored-by: Restyled.io <commits@restyled.io>
1 parent 015340a commit 4984678

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/python_testing/TC_pics_checker.py

+5
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,11 @@ def test_TC_IDM_10_4(self):
122122
checkable_clusters = {cluster_id: cluster for cluster_id, cluster in Clusters.ClusterObjects.ALL_CLUSTERS.items(
123123
) if cluster_id in self.xml_clusters and self.xml_clusters[cluster_id].pics is not None}
124124

125+
# TODO: consider what we want to do with the OTA clusters. They do not currently have PICS codes.
126+
ota_ids = [Clusters.OtaSoftwareUpdateProvider.id, Clusters.OtaSoftwareUpdateRequestor.id]
127+
checkable_clusters = {cluster_id: cluster for cluster_id,
128+
cluster in checkable_clusters.items() if cluster_id not in ota_ids}
129+
125130
self.step(2)
126131
for cluster_id, cluster in checkable_clusters.items():
127132
# Ensure the PICS.S code is correctly marked

0 commit comments

Comments
 (0)