Skip to content

Commit

Permalink
add issue for global attr writes
Browse files Browse the repository at this point in the history
  • Loading branch information
cecille committed Jan 16, 2024
1 parent 950ecce commit 6abeeb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python_testing/TC_AccessChecker.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ async def _run_write_access_test_for_cluster_privilege(self, endpoint_id, cluste
resp = await self.TH2.WriteAttribute(nodeid=self.dut_node_id, attributes=[(endpoint_id, attribute(val))])
if spec_requires == Clusters.AccessControl.Enums.AccessControlEntryPrivilegeEnum.kUnknownEnumValue:
# not writeable - expect an unsupported write response
# Global vars currently return the wrong error code - see <whatever>
# Global vars currently return the wrong error code - see #31448
ok = (is_global(attribute.attribute_id) and resp[0].Status ==
Status.UnsupportedAttribute) or resp[0].Status == Status.UnsupportedWrite
if not ok:
Expand Down

0 comments on commit 6abeeb1

Please sign in to comment.