mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
autotest: improved error msg for missing doc fields
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
This commit is contained in:
parent
0c1d665818
commit
161f2a8d2f
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user