Tools: common autotest spelling fix

reach should be reached
This commit is contained in:
Randy Mackay 2020-12-09 10:14:44 +09:00
parent f68f26e75d
commit 1f8b48e8f7
1 changed files with 1 additions and 1 deletions

View File

@ -4310,7 +4310,7 @@ class AutoTest(ABC):
else:
sum_of_achieved_values = 0.0
count_of_achieved_values = 0
raise AutoTestTimeoutException("Failed to attain %s want %s, reach %s" % (value_name, str(target), str(sum_of_achieved_values * (1.0 / count_of_achieved_values)) if count_of_achieved_values != 0 else str(last_value)))
raise AutoTestTimeoutException("Failed to attain %s want %s, reached %s" % (value_name, str(target), str(sum_of_achieved_values * (1.0 / count_of_achieved_values)) if count_of_achieved_values != 0 else str(last_value)))
def wait_heading(self, heading, accuracy=5, timeout=30, **kwargs):
"""Wait for a given heading."""