autotest: update test for which entry is last in tasks table

This commit is contained in:
Peter Barker 2022-05-10 19:45:47 +10:00 committed by Randy Mackay
parent 2f7df9ef4c
commit 4240ad7ae9

View File

@ -8628,7 +8628,7 @@ class AutoTestCopter(AutoTest):
if not lines[0].startswith("TasksV2"):
raise NotAchievedException("Expected TasksV2 as first line first not (%s)" % lines[0])
# last line is empty, so -2 here
if not lines[-2].startswith("AP_EFI::update"):
if not lines[-2].startswith("AP_Vehicle::update_arming"):
raise NotAchievedException("Expected EFI last not (%s)" % lines[-2])
def tests1a(self):