    def __init__(self, lead_relevancy=False, speed=0.0, distance_lead=2.0,
                 enabled=True, only_lead2=False, only_radar=False):
      self.rate = 1. / DT_MDL
  
      if not Plant.messaging_initialized:
        Plant.radar = messaging.pub_sock('radarState')
        Plant.controls_state = messaging.pub_sock('controlsState')
        Plant.car_state = messaging.pub_sock('carState')
        Plant.plan = messaging.sub_sock('longitudinalPlan')
 
</s>
    self.params = Params()
    def __init__(self, lead_relevancy=False, speed=0.0, distance_lead=2.0,
                 enabled=True, only_lead2=False, only_radar=False):
      self.rate = 1. / DT_MDL
    self.params = Params()
  
      if not Plant.messaging_initialized:
        Plant.radar = messaging.pub_sock('radarState')
        Plant.controls_state = messaging.pub_sock('controlsState')
        Plant.car_state = messaging.pub_sock('carState')
        Plant.plan = messaging.sub_sock('longitudinalPlan')
keep keep add keep keep keep keep keep keep
 Longitudinal planner: fix tests (#26707)

fix tests
selfdrive/test/longitudinal_maneuvers/plant.py