5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-02-21 15:23:57 -04:00

autotest: TasksV1 -> TasksV2

This commit is contained in:
Andy Piper 2022-01-31 14:54:18 +00:00 committed by Peter Hall
parent 5855ead822
commit 46ae9d2c34

View File

@ -7928,8 +7928,8 @@ class AutoTestCopter(AutoTest):
lines = content.split("\n")
if not lines[0].startswith("TasksV1"):
raise NotAchievedException("Expected TasksV1 as first line first not (%s)" % lines[0])
if not lines[0].startswith("TasksV2"):
raise NotAchievedException("Expected TasksV2 as first line first not (%s)" % lines[0])
if not lines[1].startswith("fast_loop"):
raise NotAchievedException("Expected fast_loop first, not (%s)" % lines[1])
# last line is empty, so -2 here