mirror of https://github.com/ArduPilot/ardupilot
autotest: add test for receiving base messages
This commit is contained in:
parent
77afdf1539
commit
5acf58c310
|
@ -162,6 +162,13 @@ class AutoTestTracker(vehicle_test_suite.TestSuite):
|
|||
timeout=90,
|
||||
comparator=operator.le)
|
||||
|
||||
def BaseMessageSet(self):
|
||||
'''ensure we're getting messages we expect'''
|
||||
self.set_parameter('BATT_MONITOR', 4)
|
||||
self.reboot_sitl()
|
||||
for msg in 'BATTERY_STATUS', :
|
||||
self.assert_receive_message(msg)
|
||||
|
||||
def disabled_tests(self):
|
||||
return {
|
||||
"ArmFeatures": "See https://github.com/ArduPilot/ardupilot/issues/10652",
|
||||
|
@ -178,5 +185,6 @@ class AutoTestTracker(vehicle_test_suite.TestSuite):
|
|||
self.MAV_CMD_MISSION_START,
|
||||
self.NMEAOutput,
|
||||
self.SCAN,
|
||||
self.BaseMessageSet,
|
||||
])
|
||||
return ret
|
||||
|
|
Loading…
Reference in New Issue