safety tests: clean up gas interceptor detected

This commit is contained in:
Shane Smiskol 2023-12-12 22:58:09 -08:00
parent 294992ac2c
commit e51411344b
1 changed files with 0 additions and 2 deletions

View File

@ -145,7 +145,6 @@ class GasInterceptorSafetyTest(PandaSafetyTestBase):
self._rx(self._interceptor_user_gas(0x1000))
self.assertTrue(self.safety.get_gas_interceptor_prev())
self._rx(self._interceptor_user_gas(0x0))
self.safety.set_gas_interceptor_detected(False)
def test_disengage_on_gas_interceptor(self):
for g in range(0x1000):
@ -155,7 +154,6 @@ class GasInterceptorSafetyTest(PandaSafetyTestBase):
remain_enabled = g <= self.INTERCEPTOR_THRESHOLD
self.assertEqual(remain_enabled, self.safety.get_controls_allowed())
self._rx(self._interceptor_user_gas(0))
self.safety.set_gas_interceptor_detected(False)
def test_alternative_experience_no_disengage_on_gas_interceptor(self):
self.safety.set_controls_allowed(True)