AutoTest: Ensure fence is disabled at end of throttle_failsafe_fence test

This commit is contained in:
James O'Shannessy 2021-01-22 15:33:09 +11:00 committed by Peter Barker
parent 6251b6eead
commit 6f7ba3b037
1 changed files with 1 additions and 0 deletions

View File

@ -1000,6 +1000,7 @@ class AutoTestPlane(AutoTest):
self.progress("Got (%s)" % str(m))
if (not (m.onboard_control_sensors_enabled & fence_bit)):
raise NotAchievedException("Fence not enabled after RC fail")
self.do_fence_disable() # Ensure the fence is disabled after test
def test_gripper_mission(self):
self.context_push()