Skip to content

Commit

Permalink
Update tests/safety/test_toyota.py
Browse files Browse the repository at this point in the history
Co-authored-by: PenitentTangent2401 <[email protected]>
  • Loading branch information
chrispypatt and PenitentTangent2401 authored Dec 3, 2024
1 parent 60577b3 commit a18c2be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/safety/test_toyota.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def test_lta_2_steer_cmd(self):
should_tx = not req and not req2 and angle == 0
self.assertEqual(should_tx, self._tx(self._lta_2_msg(req, req2, angle)), f"{req=} {req2=} {angle=}")

def _accel_2_msg(self, accel, cancel_req=0):
def _accel_msg_2(self, accel, cancel_req=0):
values = {"ACCEL_CMD": accel}
return self.packer.make_can_msg_panda("ACC_CONTROL_2", 0, values)

Expand Down

0 comments on commit a18c2be

Please sign in to comment.