Skip to content

Commit 2f038b9

Browse files
committed
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.
1 parent a71f814 commit 2f038b9

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/python_testing/spec_parsing_support.py

-6
Original file line numberDiff line numberDiff line change
@@ -512,12 +512,6 @@ def remove_problem(location: typing.Union[CommandPathLocation, FeaturePathLocati
512512
0x05: XmlAttribute(name='SupportedTemperatureLevels', datatype='list', conformance=feature(0x02, 'TL'), read_access=view, write_access=none, write_optional=False),
513513
}
514514

515-
# Workaround for incorrect parsing of access control cluster.
516-
# Remove this workaround when https://github.com/csa-data-model/projects/issues/397 is fixed.
517-
acl_id = Clusters.AccessControl.id
518-
clusters[acl_id].attributes[Clusters.AccessControl.Attributes.Acl.attribute_id].write_access = Clusters.AccessControl.Enums.AccessControlEntryPrivilegeEnum.kAdminister
519-
clusters[acl_id].attributes[Clusters.AccessControl.Attributes.Extension.attribute_id].write_access = Clusters.AccessControl.Enums.AccessControlEntryPrivilegeEnum.kAdminister
520-
521515
check_clusters_for_unknown_commands(clusters, problems)
522516

523517
return clusters, problems

0 commit comments

Comments
 (0)