diff --git a/src/python_testing/TC_DeviceBasicComposition.py b/src/python_testing/TC_DeviceBasicComposition.py index 87e55c1ace52f0..06920ab550898a 100644 --- a/src/python_testing/TC_DeviceBasicComposition.py +++ b/src/python_testing/TC_DeviceBasicComposition.py @@ -867,11 +867,11 @@ def test_IDM_10_3(self): self.record_warning(self.get_test_name(), location=location, problem='Standard cluster found on device, but is not present in spec data') continue - if int(clusters[cluster_id].revision) != cluster[CLUSTER_REVISION_ID]: + if int(clusters[cluster_id].revision) != cluster[GlobalAttributeIds.CLUSTER_REVISION_ID]: location = AttributePathLocation(endpoint_id=endpoint_id, cluster_id=cluster_id, - attribute_id=CLUSTER_REVISION_ID) + attribute_id=GlobalAttributeIds.CLUSTER_REVISION_ID) self.record_error(self.get_test_name( - ), location=location, problem=f'Revision found on cluster ({cluster[CLUSTER_REVISION_ID]}) does not match revision listed in the spec ({clusters[cluster_id].revision})') + ), location=location, problem=f'Revision found on cluster ({cluster[GlobalAttirbuteIds.CLUSTER_REVISION_ID]}) does not match revision listed in the spec ({clusters[cluster_id].revision})') success = False if not success: # TODO: Right now, we have failures in all-cluster, so we can't fail this test and keep it in CI. For now, just log.