Skip to content

Commit 114bff3

Browse files
committed
Make comment more verbose.
1 parent 2a1cf53 commit 114bff3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/python_testing/TC_DeviceBasicComposition.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,8 @@ class RequiredMandatoryAttribute:
261261
success = False
262262
continue
263263
except KeyError:
264-
# This would have been caught already in the previous step
264+
# A KeyError here means the attribute does not exist. This problem was already recorded in step 2,
265+
# but we don't assert until the end of the test, so ignore this and don't re-record the error.
265266
continue
266267

267268
self.print_step(4, "Validate the attribute list exactly matches the set of reported attributes")

0 commit comments

Comments
 (0)