diff --git a/Tools/autotest/common.py b/Tools/autotest/common.py index 9021c1d434..b171548d3f 100644 --- a/Tools/autotest/common.py +++ b/Tools/autotest/common.py @@ -1786,6 +1786,8 @@ class AutoTest(ABC): "name": name, "labels": [], } + if getattr(thing.fields, 'field', None) is None: + raise NotAchievedException("no doc fields for %s" % name) for field in thing.fields.field: # print("field: (%s)" % str(field)) fieldname = field.get("name")