pull/30443/head
Shane Smiskol 1 year ago
parent 824c7abacf
commit 69304cd4a2
  1. 4
      selfdrive/car/tests/test_models.py

@ -158,7 +158,6 @@ class TestCarModelBase(unittest.TestCase):
assert cls.CP.carFingerprint == cls.car_model
cls.car_state_dict = {'panda': {'gas_pressed': False}, 'CS': {'gasPressed': False}}
cls.init_gas_pressed = False
@classmethod
def tearDownClass(cls):
@ -366,9 +365,6 @@ class TestCarModelBase(unittest.TestCase):
# CC = car.CarControl.new_message()
# CS = self.CI.update(CC, (can.to_bytes(),))
if self.safety.get_gas_pressed_prev():
self.init_gas_pressed = True
# due to panda updating state selectively, only edges are expected to match
# print('ret.gas', CS.gas, 'safety gas', self.safety.get_gas_interceptor_prev())

Loading…
Cancel
Save