autotest: install hook in context
busted sanity check allowed this to survive
This commit is contained in:
parent
890a83166d
commit
bcf63326ea
@ -3013,7 +3013,7 @@ class AutoTestPlane(vehicle_test_suite.TestSuite):
|
||||
if m.relative_alt/1000.0 > max_alt:
|
||||
max_alt = m.relative_alt/1000.0
|
||||
|
||||
self.install_message_hook(record_maxalt)
|
||||
self.install_message_hook_context(record_maxalt)
|
||||
|
||||
self.fly_mission_waypoints(num_wp-1, mission_timeout=600)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user