Skip to content

Commit

Permalink
TC-ACE-2.1/2.2: Remove workaround for fixed scraper bug
Browse files Browse the repository at this point in the history
Test: Manually verified the python code gets the correct value
      from the spec XML now. TC-ACE-2.1 and 2.2 pass.
  • Loading branch information
cecille committed Feb 15, 2024
1 parent a71f814 commit 2f038b9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/python_testing/spec_parsing_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2f038b9

Please sign in to comment.