29338fbf7b
autotest: unit testing for jenkins - parameterized unit testing - modular python test modules - test groups by directory - select tests individual or by group - skip tests individually or by group arducopter.py: parameterized several functions to allow throttle settings and timeouts test modules: extracted and copied 8 tests from Tridge's autotest into modules junit.xml: xml template for unit test reporting to jenkins
9 lines
173 B
Python
9 lines
173 B
Python
import arducopter
|
|
|
|
def unit_test(mavproxy, mav):
|
|
'''A scripted flight plan'''
|
|
if (arducopter.calibrate_level(mavproxy, mav)):
|
|
return True
|
|
return False
|
|
|