From 2f038b927f5c2f7e51c365b3ff43b92696647f2a Mon Sep 17 00:00:00 2001 From: cecille Date: Thu, 15 Feb 2024 17:58:32 -0500 Subject: [PATCH] TC-ACE-2.1/2.2: Remove workaround for fixed scraper bug Test: Manually verified the python code gets the correct value from the spec XML now. TC-ACE-2.1 and 2.2 pass. --- src/python_testing/spec_parsing_support.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/python_testing/spec_parsing_support.py b/src/python_testing/spec_parsing_support.py index 3a784178cdb880..3d6cedfb4da8bf 100644 --- a/src/python_testing/spec_parsing_support.py +++ b/src/python_testing/spec_parsing_support.py @@ -512,12 +512,6 @@ def remove_problem(location: typing.Union[CommandPathLocation, FeaturePathLocati 0x05: XmlAttribute(name='SupportedTemperatureLevels', datatype='list', conformance=feature(0x02, 'TL'), read_access=view, write_access=none, write_optional=False), } - # Workaround for incorrect parsing of access control cluster. - # Remove this workaround when https://github.com/csa-data-model/projects/issues/397 is fixed. - acl_id = Clusters.AccessControl.id - clusters[acl_id].attributes[Clusters.AccessControl.Attributes.Acl.attribute_id].write_access = Clusters.AccessControl.Enums.AccessControlEntryPrivilegeEnum.kAdminister - clusters[acl_id].attributes[Clusters.AccessControl.Attributes.Extension.attribute_id].write_access = Clusters.AccessControl.Enums.AccessControlEntryPrivilegeEnum.kAdminister - check_clusters_for_unknown_commands(clusters, problems) return clusters, problems