  class TestStateMachine(unittest.TestCase):
  
    def setUp(self):
      CarInterface, CarController, CarState = interfaces["mock"]
      CP = CarInterface.get_non_essential_params("mock")
      CI = CarInterface(CP, CarController, CarState)
  
      self.controlsd = Controls(CI=CI)
      self.controlsd.events = Events()
      self.controlsd.soft_disable_timer = int(SOFT_DISABLE_TIME / DT_CTRL)
 
</s> remove     CP = CarInterface.get_non_essential_params(car_name)
 </s> add     CP = CarInterface.get_params(car_name) </s> remove     CP = CarInterface.get_non_essential_params(CAR.CIVIC)
 </s> add     CP = CarInterface.get_params(CAR.CIVIC) </s> remove     car_params = CarInterface.get_params(car_name, fingerprints, car_fw, experimental_long=False)
 </s> add     car_params = CarInterface.get_params(car_name, fingerprints, car_fw) </s> remove     CP = CarInterface.get_non_essential_params(fingerprint)
 </s> add     CP = CarInterface.get_params(fingerprint) </s> remove     self.planner = LongitudinalPlanner(CarInterface.get_non_essential_params(CAR.CIVIC), init_v=self.speed)
 </s> add     self.planner = LongitudinalPlanner(CarInterface.get_params(CAR.CIVIC), init_v=self.speed)
    CP = CarInterface.get_params("mock")
  class TestStateMachine(unittest.TestCase):
  
    def setUp(self):
      CarInterface, CarController, CarState = interfaces["mock"]
    CP = CarInterface.get_params("mock")
      CI = CarInterface(CP, CarController, CarState)
  
      self.controlsd = Controls(CI=CI)
      self.controlsd.events = Events()
      self.controlsd.soft_disable_timer = int(SOFT_DISABLE_TIME / DT_CTRL)
keep keep keep keep replace keep keep keep keep keep
 Revert "Car interface: require fingerprint and FW versions to get params (#26766)"

This reverts commit b68dabb689104ef0819a6c881b800076deb866f6. 
selfdrive/controls/tests/test_state_machine.py