Skip to content

Commit 05f4297

Browse files
committed
Fix command check (merge conflict?)
1 parent fdf55ce commit 05f4297

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/python_testing/TC_DeviceConformance.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ def record_warning(location, problem):
166166
if attribute_id not in self.xml_clusters[cluster_id].attributes.keys():
167167
# TODO: Consolidate the range checks with IDM-10.1 once that lands
168168
if attribute_id <= 0x4FFF:
169-
# manufacturer attribute
170169
record_error(location=location, problem='Standard attribute found on device, but not in spec')
171170
continue
172171
xml_attribute = self.xml_clusters[cluster_id].attributes[attribute_id]
@@ -193,9 +192,7 @@ def check_spec_conformance_for_commands(command_type: CommandType):
193192
if command_id not in xml_commands_dict:
194193
# TODO: Consolidate range checks with IDM-10.1 once that lands
195194
if command_id <= 0xFF:
196-
# manufacturer command
197-
continue
198-
record_error(location=location, problem='Standard command found on device, but not in spec')
195+
record_error(location=location, problem='Standard command found on device, but not in spec')
199196
continue
200197
xml_command = xml_commands_dict[command_id]
201198
conformance_decision_with_choice = xml_command.conformance(feature_map, attribute_list, all_command_list)

0 commit comments

Comments
 (0)