Skip to content

Commit ebc2576

Browse files
authored
TC-IDM-10.2: Fix error message (project-chip#35044)
1 parent 44456d7 commit ebc2576

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/python_testing/TC_DeviceConformance.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def record_warning(location, problem):
136136
conformance_decision_with_choice = xml_feature.conformance(feature_map, attribute_list, all_command_list)
137137
if conformance_decision_with_choice.decision == ConformanceDecision.MANDATORY and feature_mask not in feature_masks:
138138
record_error(
139-
location=location, problem=f'Required feature with mask 0x{f:02x} is not present in feature map. {conformance_str(xml_feature.conformance, feature_map, self.xml_clusters[cluster_id].features)}')
139+
location=location, problem=f'Required feature with mask 0x{feature_mask:02x} is not present in feature map. {conformance_str(xml_feature.conformance, feature_map, self.xml_clusters[cluster_id].features)}')
140140

141141
# Attribute conformance checking
142142
for attribute_id, attribute in cluster.items():

0 commit comments

Comments
 (0)